]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/testbubble/smarty3/jot-header.tpl
try to improve TinyMCE block handling
[friendica.git] / view / theme / testbubble / smarty3 / jot-header.tpl
index 13d1673946f754a3a0e1668c3781e8a725ec2dda..67deaf8190a8b1cfe299f074d0ed923c6fe4a618 100644 (file)
@@ -1,3 +1,8 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
 
 <script language="javascript" type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
 <script language="javascript" type="text/javascript">
@@ -53,9 +58,9 @@ function initEditor(cb) {
                 entity_encoding : "raw",
                 add_unload_trigger : false,
                 remove_linebreaks : false,
-                force_p_newlines : false,
-                force_br_newlines : true,
-                forced_root_block : '',
+                //force_p_newlines : false,
+                //force_br_newlines : true,
+                forced_root_block : 'div',
                 convert_urls: false,
                 content_css: "{{$baseurl}}/view/custom_tinymce.css",
                 theme_advanced_path : false,