From daa81fe34780a2b322c68708261cbc5a8dd88ba2 Mon Sep 17 00:00:00 2001 From: Pierre Baron Date: Sat, 9 Mar 2013 14:26:28 +0100 Subject: [PATCH] Fixes #2 --- dialogs/pbckcode.js | 3 +++ 1 file changed, 3 insertions(+) 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";