aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-21 18:16:59 -0800
committerFriendika <info@friendika.com>2010-11-21 18:16:59 -0800
commit890b77a547c1a00ca1cd44db5777366e2e52e2ab (patch)
treeaf5fe0da56e61c3490bb15a5b92d0ede199bb2da
parent09117b1dc7a64a8a85a81fc8f6e38f7cadb274bf (diff)
downloadvolse-hubzilla-890b77a547c1a00ca1cd44db5777366e2e52e2ab.tar.gz
volse-hubzilla-890b77a547c1a00ca1cd44db5777366e2e52e2ab.tar.bz2
volse-hubzilla-890b77a547c1a00ca1cd44db5777366e2e52e2ab.zip
force tinymce to preserve linebreak formatting
-rw-r--r--view/en/jot-header.tpl3
-rw-r--r--view/en/msg-header.tpl3
-rw-r--r--view/profed_head.tpl3
3 files changed, 9 insertions, 0 deletions
diff --git a/view/en/jot-header.tpl b/view/en/jot-header.tpl
index 81c513484..26640d8f1 100644
--- a/view/en/jot-header.tpl
+++ b/view/en/jot-header.tpl
@@ -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
diff --git a/view/en/msg-header.tpl b/view/en/msg-header.tpl
index bef2a03bb..494d5e93e 100644
--- a/view/en/msg-header.tpl
+++ b/view/en/msg-header.tpl
@@ -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
diff --git a/view/profed_head.tpl b/view/profed_head.tpl
index 0ff789a56..7958c7ace 100644
--- a/view/profed_head.tpl
+++ b/view/profed_head.tpl
@@ -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"