Opened 17 years ago
Closed 17 years ago
#3505 closed Bug (fixed)
Enter key on empty document is broken
| Reported by: | Frederico Caldeira Knabben | Owned by: | Garry Yao |
|---|---|---|---|
| Priority: | Must have (possibly next milestone) | Milestone: | CKEditor 3.0 |
| Component: | General | Version: | |
| Keywords: | Confirmed Review? | Cc: |
Description
- Load any sample.
- Select all text (CTRL+A).
- Delete the selected text with BACKSPACE.
- Hit ENTER.
A JavaScript error is thrown and the caret doesn't move. Going to Source after it we have:
<p> <br /> </p> <p> <span _fck_bookmark="1" style="display: none;"><span> </span> </span><br /> </p> <p> <span _fck_bookmark="1" style="display: none;"> </span><br /> <br /> </p>
Attachments (2)
Change History (6)
comment:1 Changed 17 years ago by
| Owner: | set to Garry Yao |
|---|---|
| Status: | new → assigned |
Changed 17 years ago by
| Attachment: | 3505.patch added |
|---|
comment:2 Changed 17 years ago by
| Keywords: | Review? added |
|---|
Changed 17 years ago by
| Attachment: | 3505_2.patch added |
|---|
comment:3 Changed 17 years ago by
| Priority: | Normal → High |
|---|
The fixing should be somehow different with the previous patch.
comment:4 Changed 17 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |

Update the CKEDITOR.dom.element::scrollIntoView to consider bookmark nodes.