force tinymce to preserve linebreak formatting
This commit is contained in:
parent
09117b1dc7
commit
890b77a547
|
@ -16,6 +16,9 @@ tinyMCE.init({
|
||||||
entity_encoding : "raw",
|
entity_encoding : "raw",
|
||||||
add_unload_trigger : false,
|
add_unload_trigger : false,
|
||||||
remove_linebreaks : false,
|
remove_linebreaks : false,
|
||||||
|
force_p_newlines : false,
|
||||||
|
force_br_newlines : true,
|
||||||
|
forced_root_block : '',
|
||||||
convert_urls: false,
|
convert_urls: false,
|
||||||
content_css: "$baseurl/view/custom_tinymce.css",
|
content_css: "$baseurl/view/custom_tinymce.css",
|
||||||
//Character count
|
//Character count
|
||||||
|
|
|
@ -17,6 +17,9 @@ tinyMCE.init({
|
||||||
entity_encoding : "raw",
|
entity_encoding : "raw",
|
||||||
add_unload_trigger : false,
|
add_unload_trigger : false,
|
||||||
remove_linebreaks : false,
|
remove_linebreaks : false,
|
||||||
|
force_p_newlines : false,
|
||||||
|
force_br_newlines : true,
|
||||||
|
forced_root_block : '',
|
||||||
convert_urls: false,
|
convert_urls: false,
|
||||||
content_css: "$baseurl/view/custom_tinymce.css",
|
content_css: "$baseurl/view/custom_tinymce.css",
|
||||||
//Character count
|
//Character count
|
||||||
|
|
|
@ -17,6 +17,9 @@ tinyMCE.init({
|
||||||
entity_encoding : "raw",
|
entity_encoding : "raw",
|
||||||
add_unload_trigger : false,
|
add_unload_trigger : false,
|
||||||
remove_linebreaks : false,
|
remove_linebreaks : false,
|
||||||
|
force_p_newlines : false,
|
||||||
|
force_br_newlines : true,
|
||||||
|
forced_root_block : '',
|
||||||
content_css: "$baseurl/view/custom_tinymce.css"
|
content_css: "$baseurl/view/custom_tinymce.css"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue