(next, _, { editor })
| 44 | const withEditorHTMLSerializerTransform: HTMLSerializerWithTransform< |
| 45 | EditorHTMLSerializerOptions |
| 46 | > = (next, _, { editor }) => { |
| 47 | return (node, options = {}) => { |
| 48 | if (Text.isText(node)) return TextSerializer.transformWithEditor(editor, node) |
| 49 | return next(node, options) |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | export const HTMLSerializer = { |
| 54 | transform(node: Node, options: HTMLSerializerOptions = {}): string { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…