]> git.mxchange.org Git - friendica.git/blob - view/smarty3/profed_head.tpl
template engine rework
[friendica.git] / view / smarty3 / profed_head.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}
6 <script type="text/javascript" src="js/country.js" ></script>
7
8 <script language="javascript" type="text/javascript"
9           src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
10           <script language="javascript" type="text/javascript">
11
12
13 tinyMCE.init({
14         theme : "advanced",
15         mode : "{{$editselect}}",
16         plugins : "bbcode,paste",
17         theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code",
18         theme_advanced_buttons2 : "",
19         theme_advanced_buttons3 : "",
20         theme_advanced_toolbar_location : "top",
21         theme_advanced_toolbar_align : "center",
22         theme_advanced_blockformats : "blockquote,code",
23         gecko_spellcheck : true,
24         paste_text_sticky : true,
25         entity_encoding : "raw",
26         add_unload_trigger : false,
27         remove_linebreaks : false,
28         //force_p_newlines : false,
29         //force_br_newlines : true,
30         forced_root_block : 'div',
31         content_css: "{{$baseurl}}/view/custom_tinymce.css",
32         theme_advanced_path : false,
33         setup : function(ed) {
34                 ed.onInit.add(function(ed) {
35             ed.pasteAsPlainText = true;
36         });
37     }
38
39 });
40
41
42 </script>
43