]> git.mxchange.org Git - friendica.git/blob - view/profed_head.tpl
never enough comments
[friendica.git] / view / profed_head.tpl
1 <script language="javascript" type="text/javascript"
2           src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
3           <script language="javascript" type="text/javascript">
4
5
6 tinyMCE.init({
7         theme : "advanced",
8         mode : "textareas",
9         plugins : "bbcode,paste",
10         theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code",
11         theme_advanced_buttons2 : "",
12         theme_advanced_buttons3 : "",
13         theme_advanced_toolbar_location : "top",
14         theme_advanced_toolbar_align : "center",
15         theme_advanced_blockformats : "blockquote,code",
16         paste_text_sticky : true,
17         entity_encoding : "raw",
18         add_unload_trigger : false,
19         remove_linebreaks : false,
20         force_p_newlines : false,
21         force_br_newlines : true,
22         forced_root_block : '',
23         content_css: "$baseurl/view/custom_tinymce.css",
24         theme_advanced_path : false,
25         setup : function(ed) {
26                 ed.onInit.add(function(ed) {
27             ed.pasteAsPlainText = true;
28         });
29     }
30
31 });
32
33
34 </script>
35