User Tools

Site Tools


how_to:editor_configuration_toolbars

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
how_to:editor_configuration_toolbars [2011/11/09 13:00]
mrmut [Toolbars]
how_to:editor_configuration_toolbars [2015/01/25 17:39]
doberon@gmail.com
Line 1: Line 1:
 ====== Toolbars ====== ====== Toolbars ======
 You can define your own toolbar or you choose one of the predefined toolbars. You can define your own toolbar or you choose one of the predefined toolbars.
- 
-The file you can edit to modify editor toolbar is located in: **wwwroot/​admin/​edit.php**. 
 ===== Standard Toolbar ​ ===== ===== Standard Toolbar ​ =====
    
Line 72: Line 70:
   ['​Styles','​Format','​Font','​FontSize'​]   ['​Styles','​Format','​Font','​FontSize'​]
   ");   ");
 +
 +Other example
 +
 +  # WYSIWYG toolbars (advanced, basic or [custom config]) ​
 +  define('​GSEDITORTOOL',"​['​Source','​Save','​Cut','​Copy','​Paste','​PasteFromWord','​-','​Undo','​Redo','​Find','​Replace',​
 +  '​-','​SelectAll','​-','​RemoveFormat','​-','​Outdent','​Indent','​-','​Blockquote','​CreateDiv'​],​
 +  ['​Bold',​ '​Italic',​ '​Underline','​Strike','​Subscript','​Superscript',​ '​NumberedList', ​
 +  '​BulletedList','​JustifyLeft','​JustifyCenter','​JustifyRight',​
 +  '​JustifyBlock',​ '​Table',​ '​TextColor',​ '​BGColor',​ '​Link','​Unlink',​ '​Image'​],'/'​['​Styles','​Format','​Font',​
 +  '​FontSize','​Flash','​HorizontalRule','​Smiley','​SpecialChar','​PageBreak',​
 +  '​Iframe','​Maximize','​ShowBlocks','​-','​About'​]"​);​
 +
  
 This will add  a new ribbon on top of the "​advanced"​- toolbar, adding buttons for "​Copy/​Paste"​ and "​Search/​Replace"​ to the advanced-Editor-Toolbar-Configuration.\\ Please note that not all of the above functions are supported by your browser eventually. Firefox does not support COPY and CUT, a messagebox opens when that buttons are used which suggests to use the standard-keyboard-short cuts instead. This will add  a new ribbon on top of the "​advanced"​- toolbar, adding buttons for "​Copy/​Paste"​ and "​Search/​Replace"​ to the advanced-Editor-Toolbar-Configuration.\\ Please note that not all of the above functions are supported by your browser eventually. Firefox does not support COPY and CUT, a messagebox opens when that buttons are used which suggests to use the standard-keyboard-short cuts instead.
how_to/editor_configuration_toolbars.txt ยท Last modified: 2016/09/17 19:22 by Carlos