Opened 7 years ago

Last modified 7 years ago

#8526 confirmed Bug

[Webkit] Unlink Highlighted Object leaves empty Anchor

Reported by: Freddie Bingham Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Opera Webkit Cc:

Description

  1. Open CKEditor demo in Webkit Browser
  2. Insert a link using the link button.
  3. Highlight the link.
  4. Press the unlink button.

Observe that is removed but inspecting the source of the editor show that an empty <a></a> has been left at the end of the previous link pointing to where the previous link was pointed.

Change History (2)

comment:1 Changed 7 years ago by Freddie Bingham

"Observe that the link is removed but inspecting the source of the editor shows that an empty <a></a> has been left at the end of the previous link, pointing to where the previous link was pointed. "

comment:2 Changed 7 years ago by Jakub Ś

Keywords: Opera Webkit added
Status: newconfirmed
Version: 3.0

If you check the source after unlinking you will find: <a data-cke-saved-href="http://abc.com" href="http://abc.com"></a> in Webkit and
<a data-cke-saved-href="http://abc.com" href="http://abc.com" /> in Opera.
Other browsers seem to work fine. They don't leave nay empty <a> tags.

This might cause problems for users who use getSnapshot() method as it returns empty <a> as well.

Issue has been reproducible from CKEditor 3.0.

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