MCPcopy Create free account
hub / github.com/editablejs/editable / tChildren

Function tChildren

packages/serializer/src/markdown.ts:52–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 transform(node: Node, options: MarkdownSerializerOptions = {}): Content[] {
51 if (Text.isText(node)) return [{ type: 'text', value: node.text }]
52 const tChildren = () => node.children.map(child => this.transform(child, options)).flat()
53 if (Editor.isEditor(node)) return tChildren()
54 const { type = 'paragraph' } = node
55

Callers 1

transformFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…