CKEditor works great. There is just minor thing which I would like to improve
We have message system which uses CKEditor. The original (old) text is in a with a vertical blue line. See the screenshot:
I would like to break the <div>
.
Up to now I found no way to break it.
In my case a RETURN key should break the <div>
.
You can config the enter key with the following modes:
<p>
paragraphs are created;<br>
elements;<div>
blocks are created.So in your case, to break a div:
CKEDITOR.replace( 'textarea_id', {
enterMode: CKEDITOR.ENTER_DIV
});
Here are the docs for ENTER_BR
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With