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

Method insertNodes

packages/core/src/document/document.ts:298–300  ·  view source on GitHub ↗

* insert multiple nodes

(parent: Node, nodes: Node[] | NodeSchema[], at?: number, copy?: boolean)

Source from the content-addressed store, hash-verified

296 * insert multiple nodes
297 */
298 insertNodes(parent: Node, nodes: Node[] | NodeSchema[], at?: number, copy?: boolean) {
299 return insertChildren(parent, nodes, at, copy)
300 }
301
302 /**
303 * 切换激活,只有打开的才能激活

Callers

nothing calls this directly

Calls 1

insertChildrenFunction · 0.90

Tested by

no test coverage detected