Skip to content

Commit

Permalink
fix: fix hasAnchor type for placeholder extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Kühn authored and Philipp Kühn committed Feb 3, 2022
1 parent 01411f8 commit 5257a3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/extension-placeholder/src/placeholder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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>({
Expand Down

0 comments on commit 5257a3b

Please sign in to comment.