wip: fix extendNodeSchema and extendMarkSchema

This commit is contained in:
Philipp Kühn
2021-04-15 21:43:41 +02:00
parent 07bc40ce75
commit 016bda4010
3 changed files with 23 additions and 30 deletions

View File

@@ -14,6 +14,7 @@ import {
GlobalAttributes,
ParentConfig,
} from './types'
import { Node } from './Node'
import { MarkConfig } from '.'
import { Editor } from './Editor'
@@ -117,7 +118,7 @@ declare module '@tiptap/core' {
options: Options,
parent: ParentConfig<MarkConfig<Options>>['extendMarkSchema'],
},
extension: Node,
extension: Mark,
) => {
[key: string]: any,
}) | null,