Opened 14 years ago
Last modified 14 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
- Open CKEditor demo in Webkit Browser
- Insert a link using the link button.
- Highlight the link.
- 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 14 years ago by
comment:2 Changed 14 years ago by
| Keywords: | Opera Webkit added |
|---|---|
| Status: | new → confirmed |
| 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.

"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. "