Open
Bug 382771
Opened 18 years ago
Updated 5 years ago
Spellchecker shouldn't require whitespace after block elements to delimit words
Categories
(Core :: DOM: Editor, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: phil.crosby, Unassigned)
References
()
Details
Attachments
(2 files, 1 obsolete file)
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Build Identifier:
In Midas,
"<div>spell</div>check" is processed as one word (and so triggers spellcheck). This, however, is processed as two words:
"<div>spell</div>\ncheck"
Whitespace after a block element shouldn't be required to delimit words.
Adding whitespace after the <div> seems trivial, but unfortunately this bug has no workaround if you're using the editor's insertHTML command to insert html, because that command trims whitespace. Thus, editor.execCommand("insertHTML","<div>heading</div>\n") will not insert a newline after the <div>, and the "heading" text will trigger spellcheck with the words surrounding it.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
| Reporter | ||
Comment 1•18 years ago
|
||
test case as attachment
Comment 2•17 years ago
|
||
Seeing this behavior in Firefox 3 RC2 while editing a document in Google Docs.
Comment 3•17 years ago
|
||
Comment 4•17 years ago
|
||
Updated•17 years ago
|
Attachment #324436 -
Attachment is obsolete: true
Comment 5•5 years ago
|
||
Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.
If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•