Opened 13 years ago
Last modified 11 years ago
#10197 confirmed Bug
CKE 4.x Inline Can't disable object resizing
| Reported by: | Sean Kelly | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 4.0 Beta |
| Keywords: | Cc: |
Description (last modified by )
- Put below code into inlinebycode sample
CKEDITOR.disableAutoInline = true; var editor = CKEDITOR.inline( 'editable', { disableObjectResizing : true }); - You can also try putting disableObjectResizing into config.js
It is still possible to resize images with inline editor in Firefox or IE (Please do not confuse with #9317).
Change History (3)
comment:1 Changed 13 years ago by
| Description: | modified (diff) |
|---|---|
| Status: | new → confirmed |
| Version: | 4.0.1 → 4.0 Beta |

This issue affects the divarea-Plugin too and I have found a dirty solution as seen below. Please note that everytime the WYSIWYG-mode is enabled again, the fix needs to be reapplied as shown in the example.
function fixFirefox() { document.designMode = 'on'; document.execCommand('enableObjectResizing', false, false); document.execCommand('enableInlineTableEditing', false, false); document.designMode = 'off'; } if ($.browser.mozilla) { CKEDITOR.on('instanceReady', function(event) { event.editor.on('mode', function(ev) { if (ev.editor.mode === 'wysiwyg') { // gets executed everytime the editor switches from source -> WYSIWYG fixFirefox(); } }); // this gets executed on init fixFirefox(); }