答案 0 :(得分:0)
根据您要显示的图片,您需要:
创建对曲目更改插件的引用,然后使用值 false 调用插件的toggleShow()
函数:
const editorInstance = CKEDITOR.instances['editor-1']; // Where 'editor-1' is the name of your editor's instance
const liteRef = editorInstance.plugins.lite.findPlugin(editorInstance);
liteRef.toggleShow(false);
注意:
启用显示/隐藏按钮与设置更改可见性不同。 E.g:
每当您启用更改跟踪功能并启用跟踪功能时,显示/隐藏按钮已启用,并且更改的可见性设置为true。< / p>