From ec33ef494da273a236b9f64ea7e759122a47173c Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Fri, 25 Jul 2014 09:34:38 -0400 Subject: [PATCH] cke_wfpl_images: found correct incantation to insert --- admin_pages.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) { -- 1.7.10.4