Opened 8 years ago

Closed 8 years ago

#14592 closed Bug (duplicate)

Image resizing does not trigger a onChange event.

Reported by: Daniel lozano Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Steps to reproduce

  1. Insert an image into an editor. (a onChange or change event is trigger)
  2. Now resize the image.

Expected result

A change (onChange) event should be trigger since the content was change.

Actual result

No event is trigger and we have no way to know that the editor is dirty to be able to save the contents.

Change History (1)

comment:1 Changed 8 years ago by Jakub Ś

Resolution: duplicate
Status: newclosed
Version: 4.5.3

DUP of #1511


I assume you are talking about IE native resize handles and change event attached to the editor like so:

var editor = CKEDITOR.replace( 'editor1', {});		
editor.on( 'pluginsLoaded', function( evt ) {
 editor.on( 'change', function( evt ) {
  console.log( 'change fired!' );
 });
});

Please see: https://dev.ckeditor.com/ticket/1511#comment:20. In short, these native resize handles didn't fire any event we could hook into and apply to our onChnage implementation. Taking that into account this is rather a "won't fix" issue.


Please note however that Enhanced Image (image2) which allows image resizing in all browsers, fires this event.


Taking the above into account, I will close this ticket as duplicate and ask you to use image2 as an alternative - http://ckeditor.com/addon/image2

Please also see the demo of image2 : http://ckeditor.com/demo#widgets

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