editorService事件
root-change
详情: dsl跟节点发生变化,editorService.set('root', {})后触发
select
详情: 选中组件,editorService.select()后触发
回调函数: (node: MNode) => void
add
详情: 选中组件,editorService.add()后触发
回调函数: (node: MNode[]) => void
remove
详情: 选中组件,editorService.remove()后触发
回调函数: (node: MNode[]) => void
update
详情: 选中组件,editorService.update()后触发
回调函数: (node: MNode[]) => void
history-change
详情: 历史记录改变,editorService.redo(),editorService.undo()后触发
回调函数: (node: MNode) => void