X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=admin_pages.html;h=705caff3115fc31d5491659e43c964537159483a;hb=ec33ef494da273a236b9f64ea7e759122a47173c;hp=4b2b1b36baf80747840fb5e91a88040097359a22;hpb=28ee7e23561dfd8eaef88eac5333df84f08ec214;p=wfpl-cms.git diff --git a/admin_pages.html b/admin_pages.html index 4b2b1b3..705caff 100644 --- a/admin_pages.html +++ b/admin_pages.html @@ -145,8 +145,7 @@ break; } CKEDITOR.dialog.getCurrent().hide(); // FIXME - console.log(code); - editor.insertHtml(code); + editor.insertElement(CKEDITOR.dom.element.createFromHtml(code)); } CKEDITOR.plugins.add('wfpl_images', { init: function (editor) {