LinDaiDai / bpmn-chinese-document

📒 全网最详bpmn.js中文教材/文档

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

如何去除左侧工具栏不要的元素?

LinDaiDai opened this issue · comments

可能不是最好的办法,但是我提供了两种解决方案:
(一)简单粗暴法
右键审查元素找到要隐藏的 class 名,之后在代码中设置 display: none;

(二)自定义palette
额,这个就按自定义palette那里写就可以了,只返回创建自己想要的组或者元素