Opened 10 years ago

Closed 10 years ago

#11575 closed Bug (duplicate)

Replace keypress with other events

Reported by: Björn Weinbrenner Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:


According the official W3C specification the event 'keypress' is deprecated ( Some modern mobile browsers (Android, Windows) don't support this event. Alternative events are keydown, keyup, input or textInput (supported by some browsers but not specified), beforeinput (specified but not supported by browsers). CKEditor uses keypress at some places and causes problems on mobile devices. One place is the UndoManager (plugins/undo/plugin.js) so that the 'change' event isn't fired properly on mobile devices.

			editor.editable().on( 'keypress', function( event ) {
					undoManager.type(, 1 );
				} );

Change History (1)

comment:1 Changed 10 years ago by Jakub Ś

Keywords: event keypress mobile removed
Resolution: duplicate
Status: newclosed
Version: 4.3.2

DUP of #10926

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