add more core commands
This commit is contained in:
9
packages/core/src/commands/undoInputRule.ts
Normal file
9
packages/core/src/commands/undoInputRule.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { undoInputRule as originalUndoInputRule } from 'prosemirror-inputrules'
|
||||
import { Command } from '../types'
|
||||
|
||||
/**
|
||||
* Undo an input rule.
|
||||
*/
|
||||
export const undoInputRule = (): Command => ({ state, dispatch }) => {
|
||||
return originalUndoInputRule(state, dispatch)
|
||||
}
|
||||
Reference in New Issue
Block a user