Opened 8 years ago

Last modified 8 years ago

#8252 confirmed Bug

Inner duplicated style is not being removed

Reported by: Frederico Caldeira Knabben Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version: 3.4.2
Keywords: Cc:

Description

Using CKEDITOR.style.applyToRange to re-apply styles is not cleaning up inner duplicated styles.

For example, when applying the <b> style on the following selection:

<b>this [is</b> some] sample text

Results on this:

<b>this <b>is</b> some</b> sample text

While the expected is this:

<b>this is some</b> sample text

I'll add a TC for this.

Change History (2)

comment:1 Changed 8 years ago by Frederico Caldeira Knabben

comment:2 Changed 8 years ago by Jakub Ś

Status: newconfirmed
Version: 3.4.2

Reproducible form CKE 3.4.2

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy