mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-27 23:15:15 +08:00
fix: fix hasAnchor type for placeholder extension
This commit is contained in:
parent
01411f8462
commit
5257a3b948
@ -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>({
|
||||
|
Loading…
Reference in New Issue
Block a user