Changes between Initial Version and Version 2 of Ticket #12635
- Timestamp:
- Nov 6, 2014, 2:38:27 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12635
-
Property
Summary
changed from
Keyboard triggered snapshot doesn't respect undo lock
toKeypress show that undo is available despite real undo count
-
Property
Summary
changed from
-
Ticket #12635 – Description
initial v2 1 It seems that if I 'll try to lock UndoManager for snapshots, keyboard events will trigger the snapshot anyawy.1 It seems that if I lock the UndoManager for snapshots, keyboard presses will still render undo button to indicate that undo steps are available. 2 2 3 3 1. Open any sample with CKEditor. (i.e. samples/replacebyclass.html) … … 18 18 19 19 **Expected result:**[[BR]] 20 No snapshot should be created, un til we'll unlock the UndoManager.20 No snapshot should be created, undo button should be off/unavailable. 21 21 22 22 **Current result:**[[BR]] 23 Snapshots are created anyway.23 Undo button is enabled. 24 24 25 25 Additional info:[[BR]] 26 26 1. Good news is that it seems not to be recent regression, as I've checked 4.3.0 and the same error occurs there. 27 27 2. Commands do cares about UndoManager being locked, because if you'll perform bold or any other command it will not record snapshot. 28 3. Snapshots are not really recorded, you can check that by evaluating {{{CKEDITOR.instances.editor1.undoManager.snapshots.length}}}