Opened 11 years ago
Last modified 11 years ago
#11126 closed Bug
Various issues when undoing when at the bottom of snapshots stack — at Version 4
Reported by: | Olek Nowodziński | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.3.2 |
Component: | Core : Undo & Redo | Version: | 4.0 |
Keywords: | Cc: |
Description (last modified by )
Surprisingly, for some reason, when multiple inline editor are in use (/samples/inlineall.html), they share (actually: abuse) one another's undo stack. It happens when CTRL+Z is pressed and there are no snapshots left on the current stack.
It doesn't look like a feature, really, and since the issue can be reproduced since 4.0 in different browsers, it's time we fixed it.
See attached video (recorded in FF) to know more.
Another TC. On IE open the inline all sample, focus one of the editors with more complex contents, type something and press CTRL+Z multiple times. Textfified version of the initial contents will be loaded.
The reason
It seems that editor does not prevent the native undo if it reached the bottom of snapshots stack. It allows browser to do stuff and weird things happen.
Change History (5)
Changed 11 years ago by
Attachment: | FF_sharedUndo_selectionBug.mp4 added |
---|
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Status: | new → confirmed |
---|
comment:3 Changed 11 years ago by
Description: | modified (diff) |
---|---|
Summary: | Shared undo stack between editors → Various issues when undoing when at the bottom of snapshots stack |
comment:4 Changed 11 years ago by
Description: | modified (diff) |
---|
cc