Ticket #3505 (closed Bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Enter key on empty document is broken

Reported by: fredck Owned by: garry.yao
Priority: High 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

3505.patch Download (506 bytes) - added by garry.yao 3 years ago.
3505_2.patch Download (1.6 KB) - added by garry.yao 3 years ago.

Change History

comment:1 Changed 3 years ago by garry.yao

  • Owner set to garry.yao
  • Status changed from new to assigned

Changed 3 years ago by garry.yao

comment:2 Changed 3 years ago by garry.yao

  • Keywords Review? added

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

Changed 3 years ago by garry.yao

comment:3 Changed 3 years ago by garry.yao

  • Priority changed from Normal to High

The fixing should be somehow different with the previous patch.

comment:4 Changed 3 years ago by garry.yao

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed along with #3189/#3190.

Note: See TracTickets for help on using tickets.
© 2003 – 2011 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy