]> git.mxchange.org Git - friendica.git/blob - view/templates/contact_head.tpl
Merge pull request #1216 from cpfeiffer/TinyMCE-resizable
[friendica.git] / view / templates / contact_head.tpl
1
2 <script language="javascript" type="text/javascript"
3           src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
4           <script language="javascript" type="text/javascript">
5
6 tinyMCE.init({
7         theme : "advanced",
8         mode : "{{$editselect}}",
9         elements: "contact-edit-info",
10         plugins : "bbcode",
11         theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
12         theme_advanced_buttons2 : "",
13         theme_advanced_buttons3 : "",
14         theme_advanced_toolbar_location : "top",
15         theme_advanced_toolbar_align : "center",
16         theme_advanced_styles : "blockquote,code",
17         theme_advanced_resizing : true,
18         gecko_spellcheck : true,
19         entity_encoding : "raw",
20         add_unload_trigger : false,
21         remove_linebreaks : false,
22         //force_p_newlines : false,
23         //force_br_newlines : true,
24         forced_root_block : 'div',
25         content_css: "{{$baseurl}}/view/custom_tinymce.css"
26
27
28 });
29
30
31 </script>
32