Commit 5269fd4bcbfe00f6a6dd9f846f6a2d4f47cce27b
1 parent
289857af
Exists in
master
and in
29 other branches
ActionItem109: adding buttons (still missing spellchecker)
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@966 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
15 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,15 @@ |
1 | +<%= javascript_include_tag 'tiny_mce/tiny_mce.js' %> | |
2 | +<script type="text/javascript"> | |
3 | +tinyMCE.init({ | |
4 | + mode : "textareas", | |
5 | + theme : "advanced", | |
6 | + plugins: "paste,searchreplace,print", | |
7 | + theme_advanced_toolbar_location : "top", | |
8 | + theme_advanced_layout_manager: 'SimpleLayout', | |
9 | + theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,undo,redo,separator,formatselect,separator,bullist,numlist,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,link,unlink,image,table,separator,cleanup,code,separator,help", | |
10 | + theme_advanced_buttons2 : "copy,paste,pastetext,pasteword,search,replace,print", | |
11 | + theme_advanced_buttons3 : "", | |
12 | + apply_source_formatting : true, | |
13 | + language: <%= language.inspect %>, | |
14 | +}); | |
15 | +</script> | ... | ... |