Opened 12 years ago

Closed 12 years ago

#1206 closed Bug (fixed)

Some <span style=""> may remain in the source

Reported by: Frederico Caldeira Knabben Owned by: Frederico Caldeira Knabben
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: Core : Styles Version: SVN (FCKeditor) - Retired
Keywords: Confirmed Cc:

Description

To test it, append the following definitions to the fckstyle.xml file:

<Style name="Size: 12 px" element="span">
	<Attribute name="style" value="font-size:12px" />
</Style>
<Style name="Size: 14 px" element="span">
	<Attribute name="style" value="font-size:14px" />
</Style>

Steps to Reproduce

  1. Open sample01.html;
  2. Select all;
  3. Apply the "Size: 14 px" style;
  4. Select the first word: "This";
  5. Apply the "Size: 12 px" style.

Checking the source, you will find the following:

<span style="font-size: 12px"><span style="">This</span></span>

Change History (3)

comment:1 Changed 12 years ago by Frederico Caldeira Knabben

Component: GeneralCore : Styles

comment:2 Changed 12 years ago by Frederico Caldeira Knabben

Owner: set to Frederico Caldeira Knabben
Status: newassigned

comment:3 Changed 12 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: assignedclosed

I'm not anymore able to reproduce it with the current SVN version, so it must have been fixed with another ticket.

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