@tiptap/core
Version:
headless rich text editor
14 lines (13 loc) • 427 B
TypeScript
import { RawCommands } from '../types.js';
declare module '@tiptap/core' {
interface Commands<ReturnType> {
createParagraphNear: {
/**
* Create a paragraph nearby.
* @example editor.commands.createParagraphNear()
*/
createParagraphNear: () => ReturnType;
};
}
}
export declare const createParagraphNear: RawCommands['createParagraphNear'];