@tiptap/core
Version:
headless rich text editor
14 lines (13 loc) • 377 B
TypeScript
import { RawCommands } from '../types.js';
declare module '@tiptap/core' {
interface Commands<ReturnType> {
selectAll: {
/**
* Select the whole document.
* @example editor.commands.selectAll()
*/
selectAll: () => ReturnType;
};
}
}
export declare const selectAll: RawCommands['selectAll'];