@tiptap/core
Version:
headless rich text editor
14 lines (13 loc) • 458 B
TypeScript
import { RawCommands } from '../types.js';
declare module '@tiptap/core' {
interface Commands<ReturnType> {
selectTextblockStart: {
/**
* Moves the cursor to the start of current text block.
* @example editor.commands.selectTextblockStart()
*/
selectTextblockStart: () => ReturnType;
};
}
}
export declare const selectTextblockStart: RawCommands['selectTextblockStart'];