Created
September 13, 2013 22:52
-
-
Save zachharkey/6557097 to your computer and use it in GitHub Desktop.
Drupal CKEditor theme sample toolbar configs. Append to ckeditor.config.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Sample toolbars | |
*/ | |
//Toolbar definition for basic buttons | |
Drupal.settings.cke_toolbar_DrupalBasic = [ [ 'Format', 'Bold', 'Italic', '-', 'NumberedList','BulletedList', '-', 'Link', 'Unlink', 'Image','syntaxhighlight' ] ]; | |
//Toolbar definition for Advanced buttons | |
Drupal.settings.cke_toolbar_DrupalAdvanced = [ | |
['Source'], | |
['Cut','Copy','Paste','PasteText','PasteFromWord','-','SpellChecker', 'Scayt'], | |
['Undo','Redo','Find','Replace','-','SelectAll','RemoveFormat'], | |
['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar'], | |
['Maximize', 'ShowBlocks'], | |
'/', | |
['Format'], | |
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'], | |
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'], | |
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiRtl','BidiLtr'], | |
['Link','Unlink','Anchor','Linkit','LinkToNode','LinkToMenu'], | |
['DrupalBreak', 'DrupalPageBreak'] | |
]; | |
// Toolbar definiton for all buttons | |
Drupal.settings.cke_toolbar_DrupalFull = [ | |
['Source'], | |
['Cut','Copy','Paste','PasteText','PasteFromWord','-','SpellChecker', 'Scayt'], | |
['Undo','Redo','Find','Replace','-','SelectAll','RemoveFormat'], | |
['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','Iframe'], | |
'/', | |
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'], | |
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv','syntaxhighlight'], | |
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiRtl','BidiLtr'], | |
['Link','Unlink','Anchor','Linkit','LinkToNode', 'LinkToMenu'], | |
'/', | |
['Format','Font','FontSize'], | |
['TextColor','BGColor'], | |
['Maximize', 'ShowBlocks'], | |
['DrupalBreak', 'DrupalPageBreak'] | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment