#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
----------------------+-----------------------------------------------------
Changes (by fredck):
* keywords: => Confirmed IE
* milestone: FCKeditor 2.6.3 =>
Comment:
I've confirmed it with IE7 with the following modification to
sample08.html:
{{{
#!diff
Index: D:/FCKeditor/SVN/FCKeditor/local/_samples/html/sample08.html
===================================================================
--- _samples/html/sample08.html (revision 2285)
+++ _samples/html/sample08.html (working copy)
@@ -50,8 +50,8 @@
// Check the active editing mode.
if ( oEditor.EditMode == FCK_EDITMODE_WYSIWYG )
{
- // Insert the desired HTML.
- oEditor.InsertHtml( '- This is some <a
href="/Test1.html">sample<\/a> HTML -' ) ;
+ oEditor.Commands.GetCommand('SelectAll').Execute();
+ oEditor.InsertHtml( '<p>insertion</p>' );
}
else
alert( 'You must be on WYSIWYG mode!' ) ;
}}}
--
Ticket URL: <http://dev.fckeditor.net/ticket/2395#comment:3>
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