* move getTextBetween method * add getText method * refactoring * refactoring * refactoring * move renderText to schema, add generateText method * add GenerateText demo * docs: update * remove demo from html page
This commit is contained in:
@@ -379,12 +379,13 @@ declare module '@tiptap/core' {
|
||||
this: {
|
||||
name: string,
|
||||
options: Options,
|
||||
editor: Editor,
|
||||
type: NodeType,
|
||||
parent: ParentConfig<NodeConfig<Options>>['renderText'],
|
||||
},
|
||||
props: {
|
||||
node: ProseMirrorNode,
|
||||
pos: number,
|
||||
parent: ProseMirrorNode,
|
||||
index: number,
|
||||
}
|
||||
) => string) | null,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user