Open Bug 378931 Opened 13 years ago Updated 13 years ago

Midas: unlink creates a span

Categories

(Core :: DOM: Editor, defect)

x86
Windows XP
defect
Not set

Tracking

()

People

(Reporter: amla70, Unassigned)

Details

Attachments

(1 file)

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
Attached file testcase
This testcase shows the bug without any extra stuff.
You need to log in before you can comment on or make changes to this bug.