Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MarkViewConstructor

The function types used to create mark views.

type MarkViewConstructor = (
mark: Mark,
view: EditorView,
inline: boolean,
) => {
dom: HTMLElement;
contentDOM?: HTMLElement;
}
;

§Type

§
(mark: Mark, view: EditorView, inline: boolean) => {
dom: HTMLElement;
contentDOM?: HTMLElement;
}
[src]