#1863: Initial whitespace character being added erroneously in Safari 3.0.4
-----------------------+----------------------------------------------------
Reporter: cromulent | Type: Bug
Status: new | Priority: Normal
Milestone: | Component: General
Version: | Keywords:
-----------------------+----------------------------------------------------
Using Safari 3.0.4 (523.12.2) and creating FCKeditor instances using the
Javascript API or replacing existing empty textareas, a single whitespace
character is being added to the editor area. While this isn't a critical
bug, it's somewhat annoying as the first line you enter in a blank
FCKeditor instance has a single leading whitespace character.
The following creates an empty FCKEditor instance without an explicit
default value, which gets populated with a single whitespace character:
{{{
<script>
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.Height = 300 ;
oFCKeditor.Create() ;
</script>
}}}
Similarly replacing an existing empty textarea causes a single whitespace
character to get inserted
{{{
<textarea name="test" id="test"></textarea>
}}}
--
Ticket URL: <http://dev.fckeditor.net/ticket/1863>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac