Opened 8 years ago
Closed 8 years ago
#14834 closed New Feature (invalid)
Setting to retain br tags before block elements when switching to source mode
Reported by: | Praveen Peri | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Steps to reproduce
- Add a br element before a block element like a div or p in wyswig
- Switch to source and notice that br tag is yanked out and replaced with nbsp;
Expected result
An overridable config setting that can prevent this from happening
Actual result
Doesn't seem overridable
Other details (browser, OS, CKEditor version, installed plugins)
To be more clear, this is happening in cleanBogus() inside htmlDataProcessor.js
Change History (1)
comment:1 Changed 8 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Version: | 4.5.10 (GitHub - master) |
This feature request is IMO a duplicate of a bug #11392. You can also see #10146 to get the full story behind the issue.
There is a workaround attached in http://dev.ckeditor.com/ticket/10146#comment:34. It works for most cases mentioned in these two tickets and in this one.