mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
fix(editor): 添加remove事件时的参数
之前是有参数的。
This commit is contained in:
parent
2201fbe80c
commit
3af6f11f9f
@ -431,7 +431,7 @@ class Editor extends BaseService {
|
|||||||
// 更新历史记录
|
// 更新历史记录
|
||||||
this.pushHistoryState();
|
this.pushHistoryState();
|
||||||
|
|
||||||
this.emit('remove');
|
this.emit('remove', nodes);
|
||||||
}
|
}
|
||||||
|
|
||||||
public async doUpdate(config: MNode) {
|
public async doUpdate(config: MNode) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user