]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14795: a better configuration for the buttons (now left-aligned)
authorscyrma <scyrma>
Wed, 11 Jun 2008 09:21:29 +0000 (09:21 +0000)
committerscyrma <scyrma>
Wed, 11 Jun 2008 09:21:29 +0000 (09:21 +0000)
lib/editor/tinymce.js.php

index 19355b82b95f49be5373ee2715e9427de27d173a..b9957c93ed90be5e9c1c08a45a19722b8021f181 100644 (file)
@@ -166,13 +166,15 @@ echo <<<EOF
         entity_encoding: "raw",\r
         language: "en",\r
         plugins: "safari,spellchecker,table,style,layer,advhr,advimage,advlink,emoticons,inlinepopups,media,searchreplace,paste,standardmenu,directionality,fullscreen,moodleimage,moodlelink,dragmath,nonbreaking",\r
-        theme_standard_buttons1: "fontselect,fontsiizeselect,formatselect,|",\r
-        theme_standard_buttons1_add: "styleselect,selectall,pastetext,pasteword,insertlayer",\r
-        theme_standard_buttons2: "bold,italic,underline,strikethrough,justifyleft,justifycenter,justifyright,justifyfull,sub,sup,undo,redo,cleanup,removeformat,code,|",\r
-        theme_standard_buttons2_add: "styleprops,ltr,rtl,table,nonbreaking,media,advhr,emoticons,charmap,dragmath,spellchecker,search,code,fullscreen",\r
-        theme_standard_buttons3: "bullist,numlist,outdent,indent,forecolor,backcolor,link,unlink,anchor,image,charmap,|",\r
-        theme_standard_buttons3_add: "media,emotions,emoticons,charmap,dragmath,spellchecker,search,code,fullscreen",\r
-        theme_standard_fonts: "Trebuchet=Trebuchet MS,Verdana,Arial,Helvetica,sans-serif;Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;Wingdings=wingdings", \r
+        theme_advanced_layout_manager: "SimpleLayout",\r
+        theme_advanced_toolbar_align : "left",\r
+        theme_advanced_buttons1: "fontselect,fontsizeselect,formatselect,",\r
+        theme_advanced_buttons1_add: "styleselect,selectall,pastetext,pasteword,cleanup",\r
+        theme_advanced_buttons2: "bold,italic,underline,strikethrough,sub,sup,|,justifyleft,justifycenter,justifyright,justifyfull,|,undo,redo,removeformat,code",\r
+        theme_advanced_buttons2_add: "styleprops,ltr,rtl,nonbreaking,charmap",\r
+        theme_advanced_buttons3: "media,advhr,emoticons,dragmath,spellchecker,search,code,fullscreen,bullist,numlist,outdent,indent,forecolor,backcolor,link,unlink,anchor,image,charmap,insertlayer,table",\r
+        theme_advanced_buttons3_add: "media,emoticons,charmap,dragmath,search,code,fullscreen",\r
+        theme_advanced_fonts: "Trebuchet=Trebuchet MS,Verdana,Arial,Helvetica,sans-serif;Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;Wingdings=wingdings", \r
         moodleimage_course_id: $COURSE->id,\r
         theme_advanced_resize_horizontal: true,\r
         theme_advanced_resizing: true,\r