(editor: Editor, node: Node = editor)
| 115 | }, |
| 116 | |
| 117 | transformWithEditor(editor: Editor, node: Node = editor) { |
| 118 | const HTMLSerializerEditor = Object.assign({}, HTMLSerializer) |
| 119 | const transforms = HTML_SERIALIZER_TRANSFORMS.get(editor) ?? [] |
| 120 | |
| 121 | HTMLSerializerEditor.with(withEditorHTMLSerializerTransform, { editor }) |
| 122 | |
| 123 | for (const { transform, options } of transforms) { |
| 124 | HTMLSerializerEditor.with(transform, options) |
| 125 | } |
| 126 | |
| 127 | return HTMLSerializerEditor.transform(node) |
| 128 | }, |
| 129 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…