MCPcopy Index your code
hub / github.com/SplootCode/splootcode / insertNode

Method insertNode

packages/editor/src/context/selection.ts:513–515  ·  view source on GitHub ↗
(listBlock: RenderedChildSetBlock, index: number, node: SplootNode)

Source from the content-addressed store, hash-verified

511
512 @action
513 insertNode(listBlock: RenderedChildSetBlock, index: number, node: SplootNode) {
514 this.insertNodeByChildSet(listBlock.childSet, index, node)
515 }
516
517 @action
518 insertNodeByChildSet(childSet: ChildSet, index: number, node: SplootNode) {

Callers 9

insertFragmentMethod · 0.95
deleteSelectedNodeMethod · 0.45
unindentMethod · 0.45
backspaceMethod · 0.45
wrapNodeOnPasteMethod · 0.45
insertNodeByChildSetMethod · 0.45
wrapNodeMethod · 0.45

Calls 1

insertNodeByChildSetMethod · 0.95

Tested by

no test coverage detected