[svn r22207] FS#2867 - The online editor: Starting to prepare a custom toolbar theme "toolbars_maxi", as an example for advanced users.
parent
3dcbe1aa4b
commit
22027165e4
@ -0,0 +1,63 @@ |
||||
<?php |
||||
// Course tools |
||||
// Documents |
||||
|
||||
// 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','Save','Preview'), |
||||
array('Bold','Italic','Underline'), |
||||
array('OrderedList','UnorderedList','-','Outdent','Indent'), |
||||
array('JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'), |
||||
array('Undo','Redo','-','Find','-','SelectAll','RemoveFormat'), |
||||
array('Link','Unlink','Anchor','Glossary'), |
||||
array('Image','Flash','MP3'), |
||||
'/', |
||||
array('Style','FontFormat','FontName','FontSize'), |
||||
array('TextColor','BGColor'), |
||||
array('Rule','Table','SpecialChar','mimetex'), |
||||
array('Source') |
||||
); |
||||
|
||||
// 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','DocProps','-','Save','NewPage','Preview','-','Templates'), |
||||
array('Cut','Copy','Paste','PasteText','PasteWord','-','Print'), |
||||
array('Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'), |
||||
array('Link','Unlink','Anchor','Glossary'), |
||||
array('mimetex','Image','imgmapPopup','Flash','MP3','EmbedMovies','flvPlayer','YouTube','googlemaps','Smiley'), |
||||
'/', |
||||
array('Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'), |
||||
array('OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'), |
||||
array('JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'), |
||||
array('Rule','SpecialChar','PageBreak'), |
||||
array('Table','TableInsertRowAfter','TableDeleteRows','TableInsertColumnAfter','TableDeleteColumns','TableInsertCellAfter','TableDeleteCells','TableMergeCells','TableHorizontalSplitCell','TableVerticalSplitCell','TableCellProp'), |
||||
'/', |
||||
array('Style','FontFormat','FontName','FontSize'), |
||||
array('TextColor','BGColor'), |
||||
array('ShowBlocks','Source') |
||||
); |
||||
|
||||
// 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'] = false; |
||||
|
||||
// Here new width and height of the editor may be set. |
||||
// Possible values, examples: 300 , '250' , '100%' , ... |
||||
//$config['Width'] = '100%'; |
||||
//$config['Height'] = '600'; |
||||
@ -0,0 +1,8 @@ |
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
||||
<head> |
||||
</head> |
||||
<body> |
||||
<br /> |
||||
</body> |
||||
</html> |
||||
Loading…
Reference in new issue