Created
February 3, 2021 00:34
-
-
Save Sunnyztj/0d034024ae56551fd312d400a8d39af6 to your computer and use it in GitHub Desktop.
ckeditor_config.js
This file contains 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
CKEDITOR.editorConfig = function( config ) { | |
config.toolbar = [ | |
{ name: 'basicstyles', items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ] }, | |
{ name: 'paragraph', items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] }, | |
'/', | |
{ name: 'links', items: [ 'Link', 'Unlink' ] }, | |
{ name: 'styles', items: [ 'Styles', 'Format', 'Font', 'FontSize' ] }, | |
'/', | |
{ name: 'colors', items: [ 'TextColor', 'BGColor' ] }, | |
{ name: 'insert', items: [ 'Table', 'HorizontalRule', 'SpecialChar'] }, | |
{ name: 'tools', items: [ 'ShowBlocks' ] }, | |
{ name: 'document', items: [ 'Source' ] }, | |
]; | |
config.allowedContent = true; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment