================================================================================ When you press enter, summernote inserts

. If it's shift-enter, then
. When you copy and paste, it inserts
but sometimes inserts
. Because of atttribute, it's not easy to replace
with
There isn't any option to set it to
only. So you need to prepare for both cases. To remove white space below

, use ---------------------------------------- .dlgnnews .note-editable p { margin-bottom:0; } ---------------------------------------- ================================================================================ To change the color of font in codeview, user ---------------------------------------- .dlgnnews .note-codable { color:white !important; } ---------------------------------------- ================================================================================ To display the text that contains

or
in one line, use ---------------------------------------- %ctar% .ntic-msg div, %ctar% .ntic-msg p { display:inline; padding-right:1em; } ---------------------------------------- .inpnnews-editor .inpnnews-txt-panel div, .inpnnews-editor .inpnnews-txt-panel p, .inpnnews-editor .inpnnews-txt-panel h1, .inpnnews-editor .inpnnews-txt-panel h2, .inpnnews-editor .inpnnews-txt-panel h3, .inpnnews-editor .inpnnews-txt-panel h4, .inpnnews-editor .inpnnews-txt-panel h5, .inpnnews-editor .inpnnews-txt-panel h6, .inpnnews-editor .inpnnews-txt-panel ul, .inpnnews-editor .inpnnews-txt-panel li, .inpnnews-editor .inpnnews-txt-panel ol, .inpnnews-editor .inpnnews-txt-panel dl, .inpnnews-editor .inpnnews-txt-panel pre, .inpnnews-editor .inpnnews-txt-panel hr { display:inline; padding-right:1em; } ================================================================================ あいうえお If you copy the above, you get あいうえお You need to replace " with ' before saving ================================================================================ admin/mod/inpnews/CInpNews.js //-- [BEGIN] summernote issue //-- summernote outputs " in double quotes. //-- (e.g.) style="font-family:"Times New Roman";" form.txt = form.txt.replace(/"/g, "'"); //-- [END] summernote issue //-- [BEGIN] summernote issue //-- copy&paste CR turns to
mostly but sometimes
//-- replace
with "
 
" form.txt = form.txt.replace(/
/g, "
 
"); //-- [END] summernote issue