Open
Bug 378931
Opened 18 years ago
Updated 3 years ago
execCommand("unlink") unexpectedly replaces <a> with <span>
Categories
(Core :: DOM: Editor, defect)
Tracking
()
NEW
People
(Reporter: amla70, Unassigned)
Details
Attachments
(1 file)
|
1.26 KB,
text/html
|
Details |
Reported in http://dev.fckeditor.net/ticket/430
Go to http://www.fckeditor.net/nightly/fckeditor/_samples/default.html switch to source mode and paste:
<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/" class="myCssClass">FCKeditor</a>.</p>
Switch to WYSIWYG, now select the link and use the unlink (it just makes sure that the full link is selected and calls execCommand( 'Unlink', false, null) )
Switch to source and theres a span instead of the link.
Tested in Firefox 2.0.0.3 and Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a4pre) Gecko/20070426 Minefield/3.0a4pre
| Reporter | ||
Comment 1•18 years ago
|
||
This testcase shows the bug without any extra stuff.
Updated•5 years ago
|
Summary: Midas: unlink creates a span → execCommand("unlink") unexpectedly replaces <a> with <span>
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•