Files
tiptap/packages/core/src/commands/selectAll.ts
2020-11-18 16:43:27 +01:00

10 lines
257 B
TypeScript

import { selectAll as originalSelectAll } from 'prosemirror-commands'
import { Command } from '../types'
/**
* Select the whole document.
*/
export const selectAll = (): Command => ({ state, dispatch }) => {
return originalSelectAll(state, dispatch)
}