Ticket #430 (closed Bug: fixed)

Opened 20 months ago

Last modified 19 months ago

Remove link issue when class attribute is defined

Reported by: decinz Owned by:
Priority: Normal Milestone:
Component: General Version: FCKeditor 2.4.2
Keywords: Confirmed Firefox Cc:

Description

This issue exists on Firefox 2.0.0.3. Doesn't appear to be an issue with IE7.

When a link tag with a defined class attribute is removed using the "Remove link" button, the link tag is converted to a span tag instead of being removed.

1. To reproduce this issue, paste the following into FCKeditor's Source view:

<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/" class="myCssClass">FCKeditor</a>.</p>

2. Next press the Source button to return to the normal view. Select the link in the editor area and click on the "Remove Link" button.

3. Finally, press the Source button again and you will see that the link tag has been converted to a span tag.

Change History

Changed 20 months ago by alfonsoml

  • keywords Confirmed added

Changed 19 months ago by alfonsoml

  • status changed from new to closed
  • resolution set to fixed

I've added a testcase in [282] and a fix (manually removing the link tag) in [283]

Note: See TracTickets for help on using tickets.