MCPcopy Index your code
hub / github.com/editablejs/editable / HTMLDeserializerOptions

Interface HTMLDeserializerOptions

packages/deserializer/src/html.ts:3–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Editor, Descendant, Element, Text, DOMNode, isDOMText } from '@editablejs/models'
2
3export interface HTMLDeserializerOptions {
4 element?: Omit<Element, 'children'>
5 text?: Omit<Text, 'text'>
6 matchNewline?: true | ((text: string) => boolean)
7}
8
9export type HTMLDeserializerTransform = typeof HTMLDeserializer.transform
10

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected