Opened 9 years ago

Closed 9 years ago

#5834 closed Bug (fixed)

[ContentEditable] Empty paragraphs being added

Reported by: Frederico Caldeira Knabben Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.4
Component: General Version:
Keywords: Firefox Cc:

Description

  1. Load the following HTML:
<p>Para 1</p>
<p contenteditable="false">Non Editable</p>
<p>Para 2</p>
  1. Put the caret into the last paragraph.
  1. Hit ARROW-UP to move up.

Current results:

A blank paragraph is added between the second and third paragraph, with the caret blinking on it.

Expected results:

It depends on the level of complexity of it, but the caret should either be placed inside the read only paragraph, or move to the first paragraph.

Change History (3)

comment:1 Changed 9 years ago by Garry Yao

Keywords: Confirmed Firefox added

Confirmed on Firefox only, I'm afraid the best option for us is to respect browser's native behavior here, as we have no way to figure out how the cursor is placed thus should not move the cursor.

comment:2 Changed 9 years ago by Garry Yao

Keywords: Review? added
Owner: set to Garry Yao
Status: newassigned

Changes are committed with [5604].

comment:3 Changed 9 years ago by Frederico Caldeira Knabben

Keywords: Firefox added; Confirmed FireFox removed
Resolution: fixed
Status: reviewclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy