首页 > 解决方案 > CKeditor 4.10 FULL 包不显示颜色按钮

问题描述

我已经从 ckeditor 版本 4.6.2 完整包升级到 4.10 完整包并且没有出现颜色按钮。

这是我的工具栏配置:

config.toolbar = [
    { name: 'clipboard', items: ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'] },
    { name: 'editing', items: ['Find', 'Replace', '-', 'SelectAll', '-', 'Scayt'] },
    { name: 'tools', items: ['ShowBlocks'] },
    { name: 'links', items: ['Link', 'Unlink', 'Anchor'] },
    { name: 'insert', items: ['Image', 'Table', 'SpecialChar', 'Iframe'] },
    { name: 'document', items: ['Source'] },
    '/',
    { name: 'basicstyles', items: ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'CopyFormatting', 'RemoveFormat'] },
    { name: 'colors', items: ['TextColor', 'BGColor'] },
    { name: 'styles', items: ['Format', 'Font', 'FontSize'] },
    { name: 'paragraph', items: ['NumberedList', 'BulletedList',  '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', ] },
];

我没有收到任何错误,是否有解决方法?这是我们平台的关键插件。

标签: ckeditorcolordialog

解决方案


推荐阅读