* use schema to update this node
(schema: Schema)
| 614 | * use schema to update this node |
| 615 | */ |
| 616 | wrapWith(schema: Schema) { |
| 617 | const wrappedNode = this.replaceWith({ ...schema, children: [this.export()] }) |
| 618 | return wrappedNode?.children!.get(0) |
| 619 | } |
| 620 | |
| 621 | /** |
| 622 | * replace this node with a new node |
nothing calls this directly
no test coverage detected