Index: lib/editor/tinymce/lib.php =================================================================== RCS file: /cvsroot/moodle/moodle/lib/editor/tinymce/lib.php,v retrieving revision 1.13 diff -u -r1.13 lib.php --- lib/editor/tinymce/lib.php 3 Feb 2010 14:36:53 -0000 1.13 +++ lib/editor/tinymce/lib.php 20 Mar 2010 23:22:10 -0000 @@ -96,6 +96,7 @@ $xdragmath = ''; } + $fullscreens = array('theme_advanced_buttons3' => "tablecontrols"); $params = array( 'mode' => "exact", 'elements' => $elementid, @@ -116,17 +117,17 @@ 'theme_advanced_font_sizes' => "1,2,3,4,5,6,7", 'theme_advanced_layout_manager' => "SimpleLayout", 'theme_advanced_toolbar_align' => "left", - 'theme_advanced_buttons1' => "fontselect,fontsizeselect,formatselect,styleselect", - 'theme_advanced_buttons1_add' => "|,undo,redo,|,search,replace,|,fullscreen", - 'theme_advanced_buttons2' => "bold,italic,underline,strikethrough,sub,sup,|,justifyleft,justifycenter,justifyright,justifyfull,|,cite,abbr,acronym", - 'theme_advanced_buttons2_add' => "|,selectall,cleanup,removeformat,pastetext,pasteword,|,forecolor,backcolor,|,ltr,rtl", - 'theme_advanced_buttons3' => "bullist,numlist,outdent,indent,|,link,unlink,moodlenolink,anchor,|,image,{$xmedia},emotions,{$xdragmath}advhr,nonbreaking,charmap", - 'theme_advanced_buttons3_add' => "|,table,insertlayer,styleprops,visualchars,|,code,preview", + 'theme_advanced_buttons1' => "fontselect,fontsizeselect,formatselect,bold,italic,underline,strikethrough", + 'theme_advanced_buttons1_add' => "|,cut,copy,pasteword,|,code,removeformat,|,undo,redo,|,search,replace,spellchecker", + 'theme_advanced_buttons2' => "justifyleft,justifycenter,justifyright,|,ltr,rtl,|,numlist,bullist,outdent,indent", + 'theme_advanced_buttons2_add' => "|,forecolor,backcolor,|,sub,sup,|,link,unlink,moodlenolink,table,image,{$xmedia}{$xdragmath}|,nonbreaking,hr,charmap,emotions,|,fullscreen", + 'theme_advanced_buttons3' => "", '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", 'theme_advanced_resize_horizontal' => true, 'theme_advanced_resizing' => true, 'theme_advanced_toolbar_location' => "top", 'theme_advanced_statusbar_location' => "bottom", + 'fullscreen_settings' => $fullscreens ); if (empty($options['legacy'])) {