ckeditor - 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', ] },
];
我没有收到任何错误,是否有解决方法?这是我们平台的关键插件。
解决方案
推荐阅读
- angular - Angular 10:路径映射在导入时在 VSCode 中显示错误
- python - 有没有办法在 python 的单行 if 语句中分配或附加变量?
- svg - 原点中心符号
- r - 从一系列 R 图中删除图标题
- python - 如何从 JSON 结果中删除数据
- mysql - 通过 MySQL 中的查询使用其他表中的值更新 DYNAMIC 字段(意思是不提及字段名称)
- c++ - LeetCode 1: 两个 Sum - addressSanitizer: heap-buffer-overflow on address
- azure-pipelines - 如何在 azure 管道中使用模板作为参数
- android - Google Play 结算购买令牌的最大长度是多少?
- java - 在 Java 中以同样快的速度同时处理 Json 数组