javascript - CKEditor break <div> -
ckeditor works great. there minor thing improve
we have message system uses ckeditor. original (old) text in vertical blue line. see screenshot:
i break <div>
.
up found no way break it.
in case return key should break <div>
.
you can config enter key following modes:
- enter_p – new
<p>
paragraphs created; - enter_br – lines broken
<br>
elements; - enter_div – new
<div>
blocks created.
so in case, break div:
ckeditor.replace( 'textarea_id', { entermode: ckeditor.enter_div });
here docs enter_br
Comments
Post a Comment