Opened 17 years ago

Closed 17 years ago

Last modified 13 years ago

#430 closed Bug (fixed)

Remove link issue when class attribute is defined

Reported by: David Au Owned by:
Priority: Normal Milestone:
Component: General Version: FCKeditor 2.4.2
Keywords: Confirmed Firefox Cc: niklas.nilsson@…


This issue exists on Firefox 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="" class="myCssClass">FCKeditor</a>.</p>
  1. 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.
  1. Finally, press the Source button again and you will see that the link tag has been converted to a span tag.

Change History (4)

comment:1 Changed 17 years ago by Alfonso Martínez de Lizarrondo

Keywords: Confirmed added

comment:2 Changed 17 years ago by Alfonso Martínez de Lizarrondo

Resolution: fixed
Status: newclosed

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

comment:3 Changed 13 years ago by Niklas Nilsson

Cc: niklas.nilsson@… added
Version: FCKeditor

This issue seems to be back in CKEditor 3.5.2 / Firefox 4, verified with the testcase as well. I have reproduced the same problem with style attributes as well.

comment:4 Changed 13 years ago by Alfonso Martínez de Lizarrondo

Version: 3.5.2FCKeditor 2.4.2

Please, open a new ticket.

This one was closed four! years ago in a different code base.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy