Opened 7 years ago

Closed 7 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 7 years ago by garry.yao

  • Keywords Review? added
  • Owner set to garry.yao
  • Status changed from new to assigned

Changes are committed with [5605].

comment:2 Changed 7 years ago by fredck

  • Resolution set to fixed
  • Status changed from review to closed
Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy