Opened 11 years ago

Last modified 10 years ago

#12332 closed Task

Undo Manager should have lower listener priorities — at Version 2

Reported by: Marek Lewandowski Owned by:
Priority: Normal Milestone: CKEditor 4.4.5
Component: Core : Undo & Redo Version: 4.4.4
Keywords: Cc:

Description (last modified by Piotrek Koszuliński)

This is a follow up of #12327.

Current implementation is really fragile to code execution order. If undo manager is initialised before some code that cancels keydown undo manager's listener will be executed, but if the order is opposite, then it won't.

The listeners should be added with low priorities (999), so they are always handled at the end - if nothing else handled them.

Change History (2)

comment:1 Changed 11 years ago by Marek Lewandowski

Status: newconfirmed

comment:2 Changed 10 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