0
我在編輯器中添加了CKEdiotr LineHeight插件。CKeditor上的LineHeight插件問題
它工作正常,當我沒有從配置文件設置任何工具欄配置,但wheni啓用我的工具欄設置其隱藏。
我的工具欄設置是爲遵循「行高」配置設置
config.extraPlugins = 'lineheight';
config.line_height = "10px;12px;13px;14px;15px;16px;";
config.toolbar = [
{ name: 'basicstyles', groups: ['basicstyles', 'cleanup'], items: ['Bold', 'Italic', 'Underline', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] },
{ name: 'styles', items: ['Font', 'FontSize', 'TextColor', 'BGColor'] }];
請讓我知道我在哪裏丟失。 我想我錯過添加項目名稱在config.toolbar
項目列表