#5546 closed Bug (fixed)
SCAYT breaks undo system
| Reported by: | Garry Yao | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.3 |
| Component: | UI : Spell Checker | Version: | 3.0 |
| Keywords: | Confirmed | Cc: | WebSpellChecker.net |
Description
Reproducing Procedures
- Open 'replacebyclass' sample page;
- Enable 'SCAYT' and wait for SCAYT to be activiated;
- Put cursor inside the word 'sample' as following:
sam^ple
- Open 'Smiley' dialog to insert one default icon at the cursor position;
- Wait until the SCAYT has finished marking the mis-spelled word 'sam' and 'ple' respectively;
- Press 'Undo' button to revert the smiley insertion;
- Actual Result: The SCAYT mark line was reverted but not the smiley icon.
- Expected Result: Both smiley icon insertion and SCAYT mark get reverted.
Attachments (2)
Change History (6)
comment:1 Changed 16 years ago by
Changed 16 years ago by
| Attachment: | 5546.patch added |
|---|
Changed 16 years ago by
| Attachment: | 5546_2.patch added |
|---|
comment:2 Changed 16 years ago by
SCAYT instance status check was added ( was led to error whet text source edit )
comment:3 Changed 16 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Fixed with [5485] with dead code blocks removed.
comment:4 Changed 16 years ago by
This has broken the undo system if there is no instance named "editor1" #5685

Note that there're two problems involved here: