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, editor: Editor,
node: ProsemirrorNode, node: ProsemirrorNode,
pos: number, pos: number,
hasAnchor: boolean,
}) => string) | string, }) => string) | string,
showOnlyWhenEditable: boolean, showOnlyWhenEditable: boolean,
showOnlyCurrent: boolean, showOnlyCurrent: boolean,
includeChildren: boolean, includeChildren: boolean,
hasAnchor: boolean,
} }
export const Placeholder = Extension.create<PlaceholderOptions>({ export const Placeholder = Extension.create<PlaceholderOptions>({