Ticket #3217 (closed Bug: duplicate)
Unexpected <br> will be added to the RichText field if the RichText field is in source/XML view before the spell checking
| Reported by: | Steve.Organ | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | FCKeditor 2.5 Beta |
| Keywords: | Cc: | sorgan@… |
Description
Clicking the "Source" button of the empty RichText field before spell-checking and you will get the <br> into the empty RichText field unexpectedly. - Continue to do the spell checking and then save the doc - Preview the doc and you will see the unexpected <br> text showing up in the RichText field (which supposed to be empty/blank
Steps to reproduce:
- Download the attachment sample01.html, put to <FCKEditor_HOME>/_samples/html/(replace the default one).
- Open the <FCKEditor_HOME>/fckconfig.js, change the entermode as "br".
- Open <FCKEditor_HOME>/_samples/default.html, clean the textarea, and click the button "testF", then click the source button.
What the button "testF" did are similar with spellcheck, it will invoke the function fck.GetXHTML().
This should be a fckeditor defect the fact that this function inserts an entermode node into the textarea if the entermode is "br".(If the entermode is p, then it is OK)
Regards,
Steve
Change History
comment:2 Changed 4 years ago by mosipov
- Milestone FCKeditor.Java 2.5 deleted
Removing incorrect milestone
Note: See
TracTickets for help on using
tickets.
