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