Opened 14 years ago

Closed 14 years ago

#5836 closed Bug (fixed)

[ContentEditable] Wrong inline styles result when selection start with readonly element

Reported by: Garry Yao Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.4
Component: Core : Styles Version:
Keywords: Confirmed Cc:


  1. Load the following HTML and apply the following selection, without putting cursor into the editor:
<p>Para [1</p>
<p contenteditable="false">Non] Editable</p>
<p>Para 2</p>
  1. Apply 'Bold' command.

Current results:

	Para <strong>1</strong></p>
<p contenteditable="false">
	<span>Non Editable</span></p>
	<strong>Para 2</strong></p>

Expected results:

	Para <strong>1</strong></p>
<p contenteditable="false">
	<span>Non Editable</span></p>
	Para 2</p>

Reproduced on the contenteditable feature branch.

Change History (2)

comment:1 Changed 14 years ago by Garry Yao

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

Changes are committed with [5605].

comment:2 Changed 14 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: reviewclosed
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