update CKEDITOR configs

This commit is contained in:
2021-06-28 08:50:55 +00:00
parent 040afa5ad4
commit bef6204940

View File

@@ -219,6 +219,20 @@ CKEDITOR_CONFIGS = {
"attributes": {"class": "code-block"}, "attributes": {"class": "code-block"},
}, },
], ],
'toolbar': 'Custom',
'toolbar_Custom': [
{'name': 'styles', 'items': ['Styles', 'Format', 'Font', 'FontSize']},
{'name': 'tools', 'items': ['Maximize', 'ShowBlocks']},
{'name': 'document', 'items': ['Source']},
'/',
{'name': 'basicstyles',
'items': ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat']},
{'name': 'paragraph',
'items': ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-',
'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock']},
{'name': 'links', 'items': ['Link', 'Unlink', 'Anchor']},
{'name': 'insert', 'items': ['Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar']},
],
} }
} }