tiptap/packages/core/src/commands/joinBackward.ts

10 lines
267 B
TypeScript
Raw Normal View History

2021-01-06 20:02:30 +08:00
import { joinBackward as originalJoinBackward } from 'prosemirror-commands'
import { Command } from '../types'
/**
* Join two nodes backward.
*/
export const joinBackward = (): Command => ({ state, dispatch }) => {
return originalJoinBackward(state, dispatch)
}