Opened 14 years ago
Closed 14 years ago
#7510 closed Bug (fixed)
element br removed at the last
Reported by: | bala | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
While using the method CKEDIOTR.setData end of the line <br> element gets removed in firefox.
config.enterMode = CKEDITOR.ENTER_BR, Firefox 3.6.13, Linux OS.
Change History (2)
comment:1 Changed 14 years ago by
Status: | new → pending |
---|
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | pending → closed |
I'm not using the wysiwyg editor the insertHtml option not work for me, instead of that allowing visitors to edit a particular content of my web page, if they do double click on a div to edit the contents I'll open the CKeditor in a separate window with that particular div's html(only the innerhtml of the div ) . once they edited the text I'll collect the html using getData option and replace the content. Everything works fine here, except end of the line <br> element gets removed.
As per your advice the latest version 3.5.3 solved my problem, thank you very much.
Did you mean insertHTML or setData Function? setData - removes all the previous editor's content with the provided markup. So it cleans everything that is currently in editor. Not just BR's.
insertHTML - adds provided markup to the current editor's markup. But I did not noticed any BRs were removed or ignored.
If you meant that markup provided for setData looses it's BRs:
than I also haven't noticed any BR ignoring.
Have you tired to reproduce this example with the latest stable version (3.5.3) or with the latest nightly build http://nightly.ckeditor.com/demo. Maybe this issue has already been fixed?