mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-01 06:37:51 +08:00
10 lines
267 B
TypeScript
10 lines
267 B
TypeScript
|
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)
|
||
|
}
|