[daisy] [JIRA] Created: (DSY-622) Daisy should work around FF
newline bug in rich-text editing
Allan Pratt (JIRA)
issues at cocoondev.org
Wed Mar 5 18:07:26 CST 2008
Daisy should work around FF newline bug in rich-text editing
------------------------------------------------------------
Key: DSY-622
URL: http://issues.cocoondev.org//browse/DSY-622
Project: Daisy
Type: Bug
Components: Frontend - doc editing - HTML
Versions: 2.1
Environment: FireFox 2.0.0.12 on Windows XP. Other FireFox versions too. IE6 and IE7 do not have this bug so they do not require a workaround.
Reporter: Allan Pratt
Priority: Minor
There is a long-standing bug in the FireFox rich-text editor widget regarding newlines. Some Wiki editor providers have used JavaScript to work around this, and I want to file this to see if Daisy can do so as well.
To see the bug, choose "bullet" style and enter some lines of text as separate bullets. Then hit Enter twice in a row to exit list mode. The paragraph you end up on is not in any style - the style shows as "(none)."
You can also see this when you are entering a heading. When you type your heading and then hit Enter while the cursor is at the end of the line, you exit "Heading" format but you do not enter Paragraph format. Again, you end up in a paragraph with no style at all.
This is technically incorrect HTML. All text should be inside some kind of tag, but the text you type now will appear in the HTML outside of all tags. I filed a defect against FireFox 18 months ago https://bugzilla.mozilla.org/show_bug.cgi?id=348149 but it's still "unconfirmed."
IE6 and IE7 behave correctly in this way: after hitting Enter to leave a heading or hitting it twice to leave a bullet or numbered list, you enter Paragraph mode instead of no formatting at all.
Like I said, some WYSIWYG editors for wikis use JavaScript to fix this, probably by adding a hook on the Enter key. I don't know what it takes, but I wanted to go on record asking for it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the daisy
mailing list