diff --git a/dialogs/pbckcode.js b/dialogs/pbckcode.js index 91892ce..4e33128 100755 --- a/dialogs/pbckcode.js +++ b/dialogs/pbckcode.js @@ -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";