我有这个配置:
$(document).ready(function(){
CKEDITOR.replace('editor', {
language : 'ru',
toolbarGroups : [
{ name: 'history', groups: [ 'redo', 'undo' ] },
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
{ name: 'paragraph', groups: [ 'list', 'indent', 'align' ] },
{ name: 'links' },
{ name: 'styles', items: [ 'Font', 'FontSize' ] },
]
});
});
但如果我尝试在“样式”中设置项目,ckeditor 会向我显示样式的双工具栏: