Commit 77019ebd3e798a83a51c2c86579e4fda63f6ec35
1 parent
1ebe4f84
Exists in
master
and in
29 other branches
Added contextmenu and forecolor on tinymce
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/views/shared/tiny_mce.rhtml
1 | 1 | <%= javascript_include_tag 'tinymce/jscripts/tiny_mce/tiny_mce.js' %> |
2 | 2 | <script type="text/javascript"> |
3 | - var myplugins = "searchreplace,print,table"; | |
3 | + var myplugins = "searchreplace,print,table,contextmenu"; | |
4 | 4 | var first_line, second_line; |
5 | 5 | var mode = '<%= mode ||= false %>' |
6 | 6 | <% if mode %> |
7 | 7 | first_line = "fontsizeselect,bold,italic,underline,bullist,numlist,justifyleft,justifycenter,justifyright,link,unlink" |
8 | 8 | second_line = "" |
9 | 9 | <% else %> |
10 | - first_line = "print,separator,copy,paste,separator,undo,redo,separator,search,replace,separator,fontsizeselect,formatselect" | |
10 | + first_line = "print,separator,copy,paste,separator,undo,redo,separator,search,replace,separator,forecolor,fontsizeselect,formatselect" | |
11 | 11 | second_line = "bold,italic,underline,strikethrough,separator,bullist,numlist,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,link,unlink,image,table,separator,cleanup,code" |
12 | 12 | <% end %> |
13 | 13 | ... | ... |