MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / batchRemoveNode

Method batchRemoveNode

packages/core/src/document/document.ts:285–289  ·  view source on GitHub ↗
(idOrNodeList: (string | Node)[])

Source from the content-addressed store, hash-verified

283 }
284
285 batchRemoveNode(idOrNodeList: (string | Node)[]) {
286 for (const item of idOrNodeList) {
287 this.removeNode(item)
288 }
289 }
290
291 insertNode(parent: Node, thing: Node | NodeSchema, at?: number, copy?: boolean) {
292 return insertChild(parent, thing, at, copy)

Callers

nothing calls this directly

Calls 1

removeNodeMethod · 0.95

Tested by

no test coverage detected