我正在使用 django 创建一个与科学相关的博客站点,我使用 django-ckeditor 作为富文本编辑器。我遇到了以下问题:
我正在尝试将“ckeditor_wiris”外部插件集成到自定义工具栏中。其他外部插件 - “Codesnipet”和“Symbol”工作正常,但“ckeditor_wiris”在工具栏上不可见。
CKEDITOR_CONFIGS = {
'default': {
'height':'250px',
'width':'100%',
'tabSpaces': 4,
'toolbar': 'Custom',
'toolbar_Custom': [
['Smiley', 'CodeSnippet', 'Symbol', 'ckeditor_wiris'],
['Bold', 'Italic', 'Underline', 'RemoveFormat', 'Blockquote'],
['TextColor', 'BGColor'],
['Link', 'Unlink'],
['NumberedList', 'BulletedList'],
['Maximize']
],
'extraPlugins': ','.join(['codesnippet',
'symbol',
'ckeditor_wiris'
]),
}
}
WIRIS 插件在工具栏上不可见:
虽然如果我使用“完整”工具栏而不是“自定义”,那么“ckeditor_wiris”在工具栏上是可见的。我该怎么做才能使其在自定义设置的工具栏上可见?