#16436 closed Bug (invalid)
Undo doesn't work properly
Reported by: | Duskfall | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Undo & Redo | Version: | |
Keywords: | undo | Cc: |
Description
Steps to reproduce
- Open http://ckeditor.com/demo
- Clear all text inside
- Type a small text like "test"
- Select the "test text and copy it Ctrl + C
- Paste the selected text multiple times. At lease 4-5 lines
- Undo the input by pressing Ctrl + Z
Expected result
Undo all text
Actual result
The text is not undoed completely only partially
Other details (browser, OS, CKEditor version, installed plugins)
Tested on Firefox 49.0.1, Chrome 52.0.2743.116 m (64-bit) and IE 11
Change History (5)
comment:1 Changed 8 years ago by
Component: | General → Core : Undo & Redo |
---|
comment:2 Changed 8 years ago by
Keywords: | undo added |
---|
comment:3 Changed 8 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:4 Changed 8 years ago by
Is there a documentation or a reason why there is a limit in that? Did it fix some bug or something or shall I freely play with the value? Thanks
comment:5 Changed 8 years ago by
We definitely don't recommend changing the core code of the editor but you can experiment it with if you like. I'm not aware of any bug that has been fixed by that value.
It has always worked that way - this is by design.
There is a fixed number of characters recorded in one undo step: https://github.com/ckeditor/ckeditor-dev/blob/master/plugins/undo/plugin.js#L240-L245