提交 cb951019 编写于 作者: H hancong03

修改图标按钮默认为禁用状态

上级 a8afc23d
......@@ -261,7 +261,7 @@
}
},
theme:editor.options.theme,
disabled:cmd == 'scrawl' && editor.queryCommandState("scrawl") == -1
disabled:(cmd == 'scrawl' && editor.queryCommandState("scrawl") == -1) || ( cmd == 'charts' )
});
editorui.buttons[cmd] = ui;
editor.addListener('selectionchange', function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册