fix: fix hasAnchor type for placeholder extension
This commit is contained in:
@@ -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>({
|
||||||
|
|||||||
Reference in New Issue
Block a user