We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 031c7f2 commit f956645Copy full SHA for f956645
packages/shell/src/document-model.ts
@@ -186,6 +186,15 @@ export default class DocumentModel {
186
this[documentSymbol].removeNode(idOrNode as any);
187
}
188
189
+ /**
190
+ * componentsMap of documentModel
191
+ * @param extraComps
192
+ * @returns
193
+ */
194
+ getComponentsMap(extraComps?: string[]) {
195
+ return this[documentSymbol].getComponentsMap(extraComps);
196
+ }
197
+
198
/**
199
* 当前 document 新增节点事件
200
*/
0 commit comments