fix: fix hasAnchor type for placeholder extension

This commit is contained in:
Philipp Kühn 2022-02-03 15:02:45 +01:00
parent 01411f8462
commit 5257a3b948

View File

@ -10,11 +10,11 @@ export interface PlaceholderOptions {
editor: Editor,
node: ProsemirrorNode,
pos: number,
hasAnchor: boolean,
}) => string) | string,
showOnlyWhenEditable: boolean,
showOnlyCurrent: boolean,
includeChildren: boolean,
hasAnchor: boolean,
}
export const Placeholder = Extension.create<PlaceholderOptions>({