CKEditor 4 不显示按钮图像
CKEditor 4 does not display button image
我按照说明做了插件。
https://docs.ckeditor.com/ckeditor4/latest/guide/plugin_sdk_sample.html
我安装了他们开发的Timestamp插件,但是图片上连他们的插件都显示不出来。
http://prntscr.com/j9wzxq
http://prntscr.com/j9x078
(CKEditor 4.8.0(修订版 230f715))
图标名称必须与小写的按钮名称匹配。请再仔细阅读一遍guide。
CKEDITOR.plugins.add( 'pluginname', {
icons: 'buttonname',
...
editor.ui.addButton( 'Buttonname',...
在您的情况下,这将是:
CKEDITOR.plugins.add( 'imgcollection', {
icons: 'piccollection',
...
editor.ui.addButton( 'Piccollection',...
我按照说明做了插件。 https://docs.ckeditor.com/ckeditor4/latest/guide/plugin_sdk_sample.html 我安装了他们开发的Timestamp插件,但是图片上连他们的插件都显示不出来。 http://prntscr.com/j9wzxq http://prntscr.com/j9x078
(CKEditor 4.8.0(修订版 230f715))
图标名称必须与小写的按钮名称匹配。请再仔细阅读一遍guide。
CKEDITOR.plugins.add( 'pluginname', {
icons: 'buttonname',
...
editor.ui.addButton( 'Buttonname',...
在您的情况下,这将是:
CKEDITOR.plugins.add( 'imgcollection', {
icons: 'piccollection',
...
editor.ui.addButton( 'Piccollection',...