Opened 12 years ago

Last modified 12 years ago

#7531 confirmed Bug

Unlink in Firefox leaves a span-tag if style or class attributes are set

Reported by: Niklas Nilsson Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc:


If a link has a class or style attribute, unlinking in Firefox 4.0 will leave a span tag behind with the same class/style attributes.

Steps to reproduce:

  1. In source mode, enter
    <a class="class" href="#" style="font-weight:bold;">Test</a>
  2. Switch back to WYSIWYG
  3. Select the text
  4. Click unlink
  5. Go to source mode, HTML is now
    <span class="class" style="font-weight:bold;">Test</span>

Change History (1)

comment:1 Changed 12 years ago by Jakub Ś

Keywords: Firefox removed
Status: newconfirmed

This happens in Firefox and Opera.

Opera behaves a little different:

  1. When selecting whole link or placing cursor behind letter "t" and using "unlink" it produces:
    Test<a class="class" href="#" style="font-weight:bold;"><span style="display: none">&nbsp;</span></a>
  2. When placing cursor before "T" unlink option doesn't work
  3. When placing cursor inside word "Test" it produces
    T<span style="display: none">&nbsp;</span>est
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