Skip to main content

TRenderEngineOptions

export
type TRenderEngineOptions<
  E extends string
> = any

Fields

cssProcessorConfig

cssProcessorConfig?: Partial<CSSProcessorConfig>;

customizeHTMLModels

customizeHTMLModels?: function __type(
  defaultHTMLElementModels: type __type<
  > = any
) : HTMLModelRecord<TagName | E>;

dangerouslyDisableHoisting

dangerouslyDisableHoisting?: boolean;

dangerouslyDisableWhitespaceCollapsing

dangerouslyDisableWhitespaceCollapsing?: boolean;

domVisitors

domVisitors?: DomVisitorCallbacks;

htmlParserOptions

htmlParserOptions?: Readonly<ParserOptions>;

ignoredDomTags

ignoredDomTags?: Array<string>;

ignoreDomNode

ignoreDomNode?: function __type(
  node: Node,
  parent: NodeWithChildren
) : unknown;

removeLineBreaksAroundEastAsianDiscardSet

removeLineBreaksAroundEastAsianDiscardSet?: boolean;

selectDomRoot

selectDomRoot?: function __type(
  node: NodeWithChildren
) : any;

setMarkersForTNode

setMarkersForTNode?: SetMarkersForTNode;

stylesConfig

stylesConfig?: StylesConfig;