(editor: Editor, node: Node = editor)
| 81 | }, |
| 82 | |
| 83 | transformWithEditor(editor: Editor, node: Node = editor) { |
| 84 | const MarkdownSerializerEditor = Object.assign({}, MarkdownSerializer) |
| 85 | const transforms = MARKDOWN_SERIALIZER_TRANSFORMS.get(editor) ?? [] |
| 86 | |
| 87 | MarkdownSerializerEditor.with(withEditorSerializerTransform, { editor }) |
| 88 | |
| 89 | for (const { transform, options } of transforms) { |
| 90 | MarkdownSerializerEditor.with(transform, options) |
| 91 | } |
| 92 | |
| 93 | return MarkdownSerializerEditor.transform(node) |
| 94 | }, |
| 95 | |
| 96 | _plugins: [] as MarkdownSerializerPlugin[], |
| 97 |
nothing calls this directly
no test coverage detected
searching dependent graphs…