如您所知,Dolibarr 是一个用 PHP 和 MySQL 编写的优秀 ERP 系统。
它使用 CKeditor 作为文本编辑器。现在我想在它的工具栏上添加一些选项。
在产品卡页面中使用了一个dolibarr_details
定义(如下所示)。htdocs\theme\eldy\ckeditor\config.js
但是当我添加新选项时,它对显示编辑器工具栏没有任何影响。
config.toolbar_dolibarr_details =
[
['Source','Maximize'],
['SpellChecker', 'Scayt'], // 'Cut','Copy','Paste','-', are useless, can be done with right click, even on smarpthone
['Format','Font','FontSize'],
['Bold','Italic','Underline','Strike','-','TextColor','RemoveFormat'], // ,'Subscript','Superscript' useless
['NumberedList','BulletedList','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','SpecialChar']
];
我不知道为什么这没有效果?
如果有人知道这一点,请帮助我。