X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=admin_pages.html;h=ca4442941786b78c31008b4f18ba98b14cb5fc08;hb=0a5d51b1488c91a5b6387d440ab16c04ef10bac8;hp=9bd863a5dd1cba44908bd9a3168ac269540f4450;hpb=36753e2ffb06df7098fbe0e8f1760870f75741e5;p=wfpl-cms.git diff --git a/admin_pages.html b/admin_pages.html index 9bd863a..ca44429 100644 --- a/admin_pages.html +++ b/admin_pages.html @@ -65,8 +65,8 @@ { thumb: "~image thumb_src jsdq~", image: "~image image_src jsdq~", - image_width: "~image image_width~", - image_height: "~image image_height~", + image_width: ~image image_width~, + image_height: ~image image_height~, sizes: "~sizes jsdq~", caption: "~caption jsdq~" }~ sep {~,~}~~}~ @@ -148,7 +148,7 @@ break; } CKEDITOR.dialog.getCurrent().hide(); - editor.insertElement(CKEDITOR.dom.element.createFromHtml(code)); + CKEDITOR.currentInstance.insertElement(CKEDITOR.dom.element.createFromHtml(code)); } CKEDITOR.plugins.add('wfpl_images', { init: function (editor) { @@ -226,6 +226,7 @@ CKEDITOR.replace(name, { 'contentsCss': 'style.css?m=~style.css mtime~', 'allowedContent': true, + bodyId: '~$basename~' + '_wysiwyg_' + name, 'stylesSet': [ { name: 'Paragraph', element: 'p'}, { name: 'Page Headline', element: 'h1'},