Opened 5 years ago

Closed 5 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:

Description

  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:

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

Expected results:

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

Reproduced on the contenteditable feature branch.

Change History (2)

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

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