mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-06 02:17:49 +08:00
7 lines
193 B
TypeScript
7 lines
193 B
TypeScript
|
import { deleteSelection } from 'prosemirror-commands'
|
||
|
import { Command } from '../Editor'
|
||
|
|
||
|
export default (): Command => ({ state, dispatch }) => {
|
||
|
return deleteSelection(state, dispatch)
|
||
|
}
|