editor.patch   [plain text]


diff -Naur roundcubemail-0.5/program/js/editor.js roundcubemail/program/js/editor.js
--- roundcubemail-0.5/program/js/editor.js	2010-12-17 07:07:04.000000000 -0\
800
+++ roundcubemail/program/js/editor.js	2011-01-03 17:50:18.000000000 -0800
@@ -43,8 +43,8 @@
       theme: 'advanced',
       language: editor_lang,
       plugins: 'paste,emotions,media,nonbreaking,table,searchreplace,visualchars,directionality,tabfocus' + (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,code,|,emotions,charmap,image,media,|,search' + (spellcheck ? ',spellchecker' : '') + ',undo,redo',
+      theme_advanced_buttons1: 'bold,italic,underline,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,outdent,indent,blockquote,|,forecolor,backcolor,fontselect,fontsizeselect,|,link,unlink,image',
+      theme_advanced_buttons2: '',
       theme_advanced_buttons3: '',
       theme_advanced_toolbar_location: 'top',
       theme_advanced_toolbar_align: 'left',