Ticket #5836 (closed Bug: fixed)

Opened 5 years ago

Last modified 5 years ago

[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

comment:1 Changed 5 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 5 years ago by fredck

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