From 544de694190d0961127503e9e6a1e5a67eb742ae Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Fri, 11 Jul 2014 18:07:59 +0200 Subject: [PATCH] edit: disable image resizing (plus workaround) Unwanted feature which will cause ugly results if accidentally used. --- edit.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/edit.js b/edit.js index 94e84cc..88b03e3 100644 --- a/edit.js +++ b/edit.js @@ -52,6 +52,9 @@ CKEDITOR.on('instanceCreated', function (event) { ['Bold', 'Italic', 'Underline', 'Strike', '-', 'Link'], ['HorizontalRule', 'Table', 'Image'], ]; + + config.disableObjectResizing = true; + document.execCommand('enableObjectResizing', false, false); // workaround in inline mode; ff bug? }); }); -- 2.30.0