Opened 9 years ago

Last modified 9 years ago

#13235 confirmed Bug

Change event not triggered when using the browser context menu — at Version 1

Reported by: Irina Owned by:
Priority: Normal Milestone:
Component: General Version: 4.2
Keywords: IBM Cc: Satya Minnekanti

Description (last modified by Jakub Ś)

To Reproduce:

  1. Open any sample
  2. Type in the console:
CKEDITOR.instances[EDITOR].on('change', function(){console.log('change...')});
  1. Type anything in the editor ( event is triggered on every key press )
  2. CTRL + A to select all the text or highlight it with the mouse
  3. Ctrl + Right click to get browser context menu
  4. Select Delete menu option

Problem: The event is not triggered

Change History (2)

comment:1 Changed 9 years ago by Jakub Ś

Description: modified (diff)
Status: newpending

Select Delete menu option

There is no 'Delete' option in context menu. There is 'Cut' option and it is possible to use it only in IE and it works - it fires change event.

Have you perhaps implemented this Delete option on your own? If that is the case then perhaps the simplest workaround is firing chnage event inside your custom code editor.fire( 'change' );

Changed 9 years ago by Irina

Attachment: contextmenuincluded.png added
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