diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-07-23 17:25:50 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-07-23 17:25:50 +0200 |
commit | b78ecabaa1c50953cefdb6458b4532c131193bcc (patch) | |
tree | 40d95315afeec47a6f11147c0724da69f0f1f451 | |
parent | 9cf50d16d40a829a09d8275cb6895c2dcd9b959d (diff) |
Enable contextmenu plugin for TinyMCE editor (#1487014)
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | program/js/editor.js | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ CHANGELOG Roundcube Webmail =========================== +- Enable contextmenu plugin for TinyMCE editor (#1487014) - Fix some mime-type to extension mapping checks in Installer (#1489983) RELEASE 1.0.2 diff --git a/program/js/editor.js b/program/js/editor.js index 92654e330..b098dbad7 100644 --- a/program/js/editor.js +++ b/program/js/editor.js @@ -45,7 +45,7 @@ function rcmail_editor_init(config) }); else { // mail compose $.extend(conf, { - plugins: 'paste,emotions,media,nonbreaking,table,searchreplace,visualchars,directionality,inlinepopups,tabfocus' + (config.spellcheck ? ',spellchecker' : ''), + plugins: 'paste,emotions,media,nonbreaking,table,searchreplace,visualchars,directionality,inlinepopups,tabfocus,contextmenu' + (config.spellcheck ? ',spellchecker' : ''), theme_advanced_buttons1: 'bold,italic,underline,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,outdent,indent,ltr,rtl,blockquote,|,forecolor,backcolor,fontselect,fontsizeselect', theme_advanced_buttons2: 'link,unlink,table,|,emotions,charmap,image,media,|,code,search,undo,redo', spellchecker_languages: (rcmail.env.spellcheck_langs ? rcmail.env.spellcheck_langs : 'Dansk=da,Deutsch=de,+English=en,Espanol=es,Francais=fr,Italiano=it,Nederlands=nl,Polski=pl,Portugues=pt,Suomi=fi,Svenska=sv'), |