Created
September 12, 2013 12:53
-
-
Save zhenyi2697/6536815 to your computer and use it in GitHub Desktop.
Javascript: CKEditor setup for bootstrap
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
| This tool is awesome !!! | |
| config.toolbar = [ | |
| { name: 'document', groups: [ 'mode', 'document', 'doctools' ], items: [ 'Source', '-', 'Print',] }, | |
| { name: 'clipboard', groups: [ 'clipboard', 'undo' ], items: [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ] }, | |
| { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ], items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Bl | |
| '/', | |
| { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ], items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFo | |
| { name: 'styles', items: [ 'Format', 'Font', 'FontSize' ] }, | |
| { name: 'colors', items: [ 'TextColor', 'BGColor' ] }, | |
| { name: 'tools', items: [ 'Maximize' ] }, | |
| { name: 'insert', items: [ 'Link', 'Image', 'HorizontalRule', 'Smiley', 'SpecialChar', ] }, | |
| ]; | |
| config.toolbarGroups = [ | |
| { name: 'document', groups: [ 'mode', 'document', 'doctools' ] }, | |
| { name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, | |
| '/', | |
| { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }, | |
| { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] }, | |
| { name: 'insert' }, | |
| '/', | |
| { name: 'styles' }, | |
| { name: 'colors' }, | |
| { name: 'tools' }, | |
| ]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment