improve command handling
This commit is contained in:
@@ -10,7 +10,7 @@ export interface HeadingOptions {
|
||||
export type HeadingCommand = (level: Level) => Command
|
||||
|
||||
declare module '@tiptap/core/src/Editor' {
|
||||
interface Editor {
|
||||
interface Commands {
|
||||
heading: HeadingCommand,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user