Opened 11 years ago

Last modified 9 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 Jakub Ś)

  1. Put below code into inlinebycode sample
    CKEDITOR.disableAutoInline = true;
    var editor = CKEDITOR.inline( 'editable', {
    	disableObjectResizing : true
  2. 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 11 years ago by Jakub Ś

Description: modified (diff)
Status: newconfirmed
Version: Beta

comment:2 Changed 10 years ago by Alexander Ebert

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
	// this gets executed on init

comment:3 Changed 10 years ago by Jakub Ś

Other issues that concern objectResizing #10252, #9317, #12184, #12772.

Last edited 9 years ago by Jakub Ś (previous) (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy