JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
cke_wfpl_images: found correct incantation to insert
[wfpl-cms.git] / admin_pages.html
index 4b2b1b3..705caff 100644 (file)
                                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) {