X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl-cms.git;a=blobdiff_plain;f=admin_pages.html;h=ca4442941786b78c31008b4f18ba98b14cb5fc08;hp=f47aac2b3282d054af62cdf29afebdc73d9ddf6f;hb=12162e9634cf516b4ec2b573691a3422576fe30a;hpb=28c561e83d6ffed819bc308af8daf59be7051662 diff --git a/admin_pages.html b/admin_pages.html index f47aac2..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) { @@ -225,8 +225,8 @@ function make_wysiwyg(name) { CKEDITOR.replace(name, { 'contentsCss': 'style.css?m=~style.css mtime~', - bodyId: '~$basename~' + '-wysiwyg-' + name, 'allowedContent': true, + bodyId: '~$basename~' + '_wysiwyg_' + name, 'stylesSet': [ { name: 'Paragraph', element: 'p'}, { name: 'Page Headline', element: 'h1'},