Simple question here: I don't wan't CKEditor 4 to use any <BR> tag. Not on Shift+Enter, not on paste. Not on drag and dropping selection around. Never.
I other words, I want the editor to forget the extistance of this abominion, and use <p></p> for everything.
I already did config.allowedContent='strong;code;em;ins;h2;ol;ul;li;a[!href];img[!src]'; but some BR still sneak around sometime.
Any help?
Thanks.
Unfortunately we cannot
Unfortunately we cannot filter <br> completely now. Perhaps by empting this array: https://github.com/ckeditor/ckeditor-dev/blob/master/core/filter.js#L138 someone could get rid of them, but we've never tested this because we are using so called "bogus brs" to fix some problems with contenteditable and that could create a conflict.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Ok, I'll just filter them out
Ok, I'll just filter them out server-side.
Thank you very much anyway for your kindly reply!