Browse Source

[svn r22225] FS#2867 - The online editor, toolbars_maxi: Adding the free_answer toolbar.

Ivan Tcholakov 15 years ago
parent
commit
54918c0b10
1 changed files with 50 additions and 0 deletions
  1. 50 0
      main/inc/lib/fckeditor/toolbars_maxi/free_answer.php

+ 50 - 0
main/inc/lib/fckeditor/toolbars_maxi/free_answer.php

@@ -0,0 +1,50 @@
+<?php
+// Course tools
+// Test, free answer to a question
+
+// For more information: http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options
+
+// This is the visible toolbar set when the editor has "normal" size.
+$config['ToolbarSets']['Normal'] = array(
+	array('FitWindow'),
+	array('Bold','Italic','Underline','-','Subscript','Superscript'),
+	array('Undo','Redo'),
+	array('TextColor','BGColor'),
+	array('SpecialChar','mimetex')
+);
+
+// This is the visible toolbar set when the editor is maximized.
+// If it has not been defined, then the toolbar set for the "normal" size is used.
+$config['ToolbarSets']['Maximized'] = array(
+	array('FitWindow'),
+	array('Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'),
+	array('OrderedList','UnorderedList','-','Outdent','Indent'),
+	array('JustifyLeft','JustifyCenter','JustifyRight'),
+	array('Undo','Redo','-','SelectAll','RemoveFormat'),
+	array('SpecialChar','mimetex'),
+	'/',
+	array('Style','FontFormat','FontName','FontSize'),
+	array('TextColor','BGColor')
+);
+
+// Sets whether the toolbar can be collapsed/expanded or not.
+// Possible values: true , false
+//$config['ToolbarCanCollapse'] = true;
+
+// Sets how the editor's toolbar should start - expanded or collapsed.
+// Possible values: true , false
+//$config['ToolbarStartExpanded'] = true;
+
+//This option sets the location of the toolbar.
+// Possible values: 'In' , 'None' , 'Out:[TargetId]' , 'Out:[TargetWindow]([TargetId])'
+//$config['ToolbarLocation'] = 'In';
+
+// A setting for blocking copy/paste functions of the editor.
+// This setting activates on leaners only. For users with other statuses there is no blocking copy/paste.
+// Possible values: true , false
+$config['BlockCopyPaste'] = true;
+
+// Here new width and height of the editor may be set.
+// Possible values, examples: 300 , '250' , '100%' , ...
+//$config['Width'] = '100%';
+//$config['Height'] = '300';