Opened 16 years ago

Closed 15 years ago

#1863 closed Bug (fixed)

[Safari][Tag] Initial whitespace character being added erroneously.

Reported by: cromulent Owned by:
Priority: Normal Milestone: Safari Compatibility
Component: General Version: FCKeditor 2.5.1
Keywords: Confirmed Cc:

Description

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>

Attachments (1)

space.jpg (7.3 KB) - added by cromulent 16 years ago.
Screenshot demonstrating initial whitespace character being added

Download all attachments as: .zip

Change History (4)

Changed 16 years ago by cromulent

Attachment: space.jpg added

Screenshot demonstrating initial whitespace character being added

comment:1 Changed 16 years ago by Wojciech Olchawa

Keywords: Confirmed added
Milestone: Safari Compatibility
Summary: Initial whitespace character being added erroneously in Safari 3.0.4[Safari]Initial whitespace character being added erroneously.
Version: FCKeditor 2.5.1

Confirmed in Safari. Works fine in IE and FF2

comment:2 Changed 16 years ago by Wojciech Olchawa

Summary: [Safari]Initial whitespace character being added erroneously.[Safari][Tag] Initial whitespace character being added erroneously.

comment:3 Changed 15 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: newclosed

Should not be an issue anymore with CKEditor.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy