Browse Source

force tinymce to preserve linebreak formatting

pull/1/head
Friendika 10 years ago
parent
commit
890b77a547
3 changed files with 9 additions and 0 deletions
  1. +3
    -0
      view/en/jot-header.tpl
  2. +3
    -0
      view/en/msg-header.tpl
  3. +3
    -0
      view/profed_head.tpl

+ 3
- 0
view/en/jot-header.tpl View File

@ -16,6 +16,9 @@ tinyMCE.init({
entity_encoding : "raw",
add_unload_trigger : false,
remove_linebreaks : false,
force_p_newlines : false,
force_br_newlines : true,
forced_root_block : '',
convert_urls: false,
content_css: "$baseurl/view/custom_tinymce.css",
//Character count


+ 3
- 0
view/en/msg-header.tpl View File

@ -17,6 +17,9 @@ tinyMCE.init({
entity_encoding : "raw",
add_unload_trigger : false,
remove_linebreaks : false,
force_p_newlines : false,
force_br_newlines : true,
forced_root_block : '',
convert_urls: false,
content_css: "$baseurl/view/custom_tinymce.css",
//Character count


+ 3
- 0
view/profed_head.tpl View File

@ -17,6 +17,9 @@ tinyMCE.init({
entity_encoding : "raw",
add_unload_trigger : false,
remove_linebreaks : false,
force_p_newlines : false,
force_br_newlines : true,
forced_root_block : '',
content_css: "$baseurl/view/custom_tinymce.css"


Loading…
Cancel
Save