]> git.mxchange.org Git - friendica.git/blob - view/profed_head.tpl
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
[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         gecko_spellcheck : true,
17         paste_text_sticky : true,
18         entity_encoding : "raw",
19         add_unload_trigger : false,
20         remove_linebreaks : false,
21         force_p_newlines : false,
22         force_br_newlines : true,
23         forced_root_block : '',
24         content_css: "$baseurl/view/custom_tinymce.css",
25         theme_advanced_path : false,
26         setup : function(ed) {
27                 ed.onInit.add(function(ed) {
28             ed.pasteAsPlainText = true;
29         });
30     }
31
32 });
33
34
35 </script>
36