Opened 16 years ago
Last modified 15 years ago
#5614 review Bug
Selection incorrect after Undo
| Reported by: | Garry Yao | Owned by: | Garry Yao |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Core : Undo & Redo | Version: | 3.0 |
| Keywords: | Cc: | satya_minnekanti@… |
Description
Environment
IE, enterMode = CKEDITOR.ENTER_BR;
Reproducing Procedures
- Open any of the sample page and click on 'New Page' to clear all contents;
- Click on 'Insert Horizontal Line' 3 times to insert 3 <hr>;
- Undo once to revert one <hr>
- Strart typing some text
- Actual Result: The inserted text appears after the first <hr>;
- Expected Result: The inserted text appears after the second <hr>;
Attachments (2)
Change History (10)
comment:1 Changed 16 years ago by
Changed 16 years ago by
| Attachment: | 5416_POD.html added |
|---|
Proof of Diagnosis for the innerHTML problem
Changed 16 years ago by
| Attachment: | 5614.patch added |
|---|
comment:2 Changed 16 years ago by
| Keywords: | Review? added |
|---|---|
| Milestone: | → CKEditor 3.3 |
| Owner: | set to Garry Yao |
| Status: | new → assigned |
Proposing of ignoring non-visible empty spaces on creating/selecting bookmark2.
comment:3 Changed 16 years ago by
| Milestone: | CKEditor 3.3 → CKEditor 3.4 |
|---|
comment:4 Changed 16 years ago by
| Cc: | saarelias@… added |
|---|
comment:6 Changed 15 years ago by
| Cc: | satya_minnekanti@… added |
|---|
comment:7 Changed 15 years ago by
| Keywords: | Confirmed IE? removed |
|---|---|
| Milestone: | CKEditor 3.4 |
comment:8 Changed 15 years ago by
| Cc: | saarelias@… removed |
|---|

The problem is that IE, when retrieving innerHTML( via editor.getSnapshot()), insist on having line-break after <hr>, the result is that our bookmarks, which are created based on the original DOM structure (have no line-break between nodes), result in wrong position when applied.