Ticket #4999 (closed Bug: fixed)
Undo unavailable after inserting template before editing content
| Reported by: | damo | Owned by: | garry.yao |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.2 |
| Component: | Core : Undo/Redo | Version: | SVN (CKEditor) - OLD |
| Keywords: | Confirmed IBM Review- | Cc: | JoeK |
Description
- Open editor (do not edit content)
- Use template button to insert any template with "Replace content" option active.
Result: Undo is not available
Attachments
Change History
comment:1 Changed 3 years ago by garry.yao
- Keywords Review? added
- Owner set to garry.yao
- Status changed from new to assigned
Adding snapshots for inserting templates with replace mode.
comment:2 follow-up: ↓ 3 Changed 3 years ago by alfonsoml
- Keywords Review- added; Review? removed
Wouldn't it be better to add the save snapshots inside the setData?
Any plugin or external code that modifies the content will have to be aware of this behavior, I don't think that it's straightforward that people is required to save a snapshot themselves when they are calling an API to alter the content of the editor.
comment:3 in reply to: ↑ 2 Changed 3 years ago by garry.yao
- Keywords Review? added; Review- removed
Replying to alfonsoml: Definitely, nice prompt.
comment:5 Changed 3 years ago by garry.yao
- Status changed from assigned to closed
- Component changed from General to Core : Undo/Redo
- Version set to SVN (CKEditor)
- Resolution set to fixed
- Keywords Confirmed added
Fixed with [5015].
comment:6 Changed 3 years ago by fredck
- Status changed from closed to reopened
- Resolution fixed deleted
comment:7 Changed 3 years ago by fredck
- Keywords Review- added; Review+ removed
Btw, reverted with [5163].
Note: See
TracTickets for help on using
tickets.
