Opened 17 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)
Change History (4)
Changed 17 years ago by
comment:1 Changed 17 years ago by
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 17 years ago by
Summary: | [Safari]Initial whitespace character being added erroneously. → [Safari][Tag] Initial whitespace character being added erroneously. |
---|
comment:3 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Should not be an issue anymore with CKEditor.
Screenshot demonstrating initial whitespace character being added