Opened 15 years ago

Closed 15 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

  1. Load any sample.
  2. Select all text (CTRL+A).
  3. Delete the selected text with BACKSPACE.
  4. 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>&nbsp;</span>&nbsp;</span><br />
</p>
<p>
	<span _fck_bookmark="1" style="display: none;">&nbsp;</span><br />
	<br />
</p>

Attachments (2)

3505.patch (506 bytes) - added by Garry Yao 15 years ago.
3505_2.patch (1.6 KB) - added by Garry Yao 15 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 15 years ago by Garry Yao

Owner: set to Garry Yao
Status: newassigned

Changed 15 years ago by Garry Yao

Attachment: 3505.patch added

comment:2 Changed 15 years ago by Garry Yao

Keywords: Review? added

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

Changed 15 years ago by Garry Yao

Attachment: 3505_2.patch added

comment:3 Changed 15 years ago by Garry Yao

Priority: NormalHigh

The fixing should be somehow different with the previous patch.

comment:4 Changed 15 years ago by Garry Yao

Resolution: fixed
Status: assignedclosed

Fixed along with #3189/#3190.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy