javascript - CKEditor inserts <br /> twice on keypress enter -
with ckeditor 2 <br />
tags when press enter. want maintain line break tags, don't want insert them twice.
my configuration come in key in config.js:
config.entermode = ckeditor.enter_br;
how can create ckeditor insert once?
edit: right solving css line-height property. more elegant solution great.
try changing: ckeditor.enter_br ckeditor.enter_p
by default paragraphs treated 2 lines (because of margin).
what need set default settings , alter p tag css remove margins allows on 1 line.
javascript html css ckeditor
No comments:
Post a Comment