#2395: InsertHtml() can prefix an additional annoying blank paragraph with IE
----------------------+-----------------------------------------------------
Reporter: MarkWB | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone:
Component: General | Version: SVN
Resolution: | Keywords: Confirmed IE
----------------------+-----------------------------------------------------
Comment(by fredck):
The problem here is not only the InsertHtml call. Is the combination of
the SelectAll command and the InsertHtml call.
It looks like, when doing SelectAll and then pasteHTML in IE, the pasted
data ends up inside the paragraph. So, you have this ugly thing:
{{{
<p>
<p>insertion</p>
</p>
}}}
The above monster renders like:
{{{
<p></p>
<p>insertion</p>
}}}
To confirm this theory, with the above changes to sample08, load
<h1>Test</h1> in the editor and click "Insert HTML". You will have this:
{{{
<h1>
<p>insertion</p>
</h1>
<p> </p>
}}}
--
Ticket URL: <http://dev.fckeditor.net/ticket/2395#comment:4>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac