Javascript 不显示编辑按钮
我的ckeditor有以下设置:Javascript 不显示编辑按钮,javascript,ckeditor,Javascript,Ckeditor,我的ckeditor有以下设置: CKEDITOR.inline('editor1', { startupFocus: true, extraPlugins: 'sharedspace', removePlugins: 'forms', sharedSpaces: { top: 'top', }, toolbarGroups: [ { name: 'print' }, { name: 'stuff',
CKEDITOR.inline('editor1', {
startupFocus: true,
extraPlugins: 'sharedspace',
removePlugins: 'forms',
sharedSpaces: {
top: 'top',
},
toolbarGroups: [
{ name: 'print' },
{ name: 'stuff', groups:['print','preview','find' ]},
'/',
{ name: 'document' },
{ name: 'clipboard', groups: ['clipboard', 'undo'] },
{ name: 'editing', groups: ['find', 'selection', 'spellchecker'] },
'/',
{ name: 'basicstyles', groups: ['basicstyles', 'cleanup'] },
{ name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi'] },
{ name: 'links' },
{ name: 'insert' },
'/',
{ name: 'styles' },
{ name: 'colors' },
{ name: 'tools' },
{ name: 'others' },
]
});
但由于某些原因,打印按钮没有显示。插件在文件夹中。(预览时也是如此)
但是,当我添加另一个插件(例如find)时,它在工具栏中显示得很好。这是视图中的结果:
有没有关于为什么没有加载的线索?内联编辑器似乎无法使用“打印”按钮。可能是因为重复的名称2x print?@YannPoiré。不。首先在没有
工具组的情况下尝试了它,结果也一样。对不起,我不在家,所以不能尝试太多,但我能很快看到的就是这些。如果以后还没有人回答,我就试试看。