Opened 9 years ago

Last modified 7 years ago

#13593 review Bug

[iOS, Android, WP] Fire editor#selectionChange on selection changes caused by touch events — at Version 4

Reported by: Piotrek Koszuliński Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: iOS Android NiceToHave Cc:

Description (last modified by Piotrek Koszuliński)

Currently editor#selectionChange is based on:

  • native selectionchange,
  • keyboard events,
  • mouse events.

Therefore, CKEditor does not know about selection changes done on touch devices if browser does not implement selectionchange itself. It may also happen that we have some bugs in this system.

Lack of editor#selectionChange and checkSelectionChange() calls result in various issues like wrong selection being locked on focus (we store a reference to the last selection) and lack of updates in commands states. I think that related tickets may be:

Change History (4)

comment:1 Changed 9 years ago by Piotrek Koszuliński

Status: newconfirmed
Summary: Fire editor#selectionChange on selection changes caused by touch events[iOS, Android] Fire editor#selectionChange on selection changes caused by touch events

comment:2 Changed 9 years ago by Piotrek Koszuliński

Milestone: CKEditor 4.5.3CKEditor 4.5.4

comment:3 Changed 9 years ago by Piotrek Koszuliński

Description: modified (diff)
Summary: [iOS, Android] Fire editor#selectionChange on selection changes caused by touch events[iOS, Android, WP] Fire editor#selectionChange on selection changes caused by touch events

comment:4 Changed 9 years ago by Piotrek Koszuliński

Description: modified (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