(editor: Editor, node: Node = editor)
| 51 | }, |
| 52 | |
| 53 | transformWithEditor(editor: Editor, node: Node = editor): string { |
| 54 | const TextSerializerEditor = Object.assign({}, TextSerializer) |
| 55 | const transforms = TEXT_SERIALIZER_TRANSFORMS.get(editor) ?? [] |
| 56 | |
| 57 | for (const { transform, options } of transforms) { |
| 58 | TextSerializerEditor.with(transform, options) |
| 59 | } |
| 60 | |
| 61 | return TextSerializerEditor.transform(node) |
| 62 | }, |
| 63 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…