UNPKG

@tiptap/core

Version:

headless rich text editor

14 lines (13 loc) 345 B
import { RawCommands } from '../types.js'; declare module '@tiptap/core' { interface Commands<ReturnType> { enter: { /** * Trigger enter. * @example editor.commands.enter() */ enter: () => ReturnType; }; } } export declare const enter: RawCommands['enter'];