Skip to content

Commit

Permalink
Fixes #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Baron committed Mar 9, 2013
1 parent 3652751 commit daa81fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dialogs/pbckcode.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ link.href = CKEDITOR.plugins.getPath('pbckcode') + "dialogs/style.css";
link.media = 'all';
head.appendChild(link);

if(editor.config.pbckcode == undefined)
editor.config.pbckcode = {};

// default values of the plugin
if(editor.config.pbckcode.cls == undefined)
editor.config.pbckcode.cls = "prettyprint linenums";
Expand Down

0 comments on commit daa81fe

Please sign in to comment.