UNPKG

@tiptap/core

Version:

headless rich text editor

14 lines (13 loc) 407 B
import { RawCommands } from '../types.js'; declare module '@tiptap/core' { interface Commands<ReturnType> { scrollIntoView: { /** * Scroll the selection into view. * @example editor.commands.scrollIntoView() */ scrollIntoView: () => ReturnType; }; } } export declare const scrollIntoView: RawCommands['scrollIntoView'];