@tiptap/core
Version:
headless rich text editor
9 lines (8 loc) • 300 B
TypeScript
import { Node as ProseMirrorNode } from '@tiptap/pm/model';
import { JSONContent } from '../types.js';
interface DebugJSONContent extends JSONContent {
from: number;
to: number;
}
export declare function getDebugJSON(node: ProseMirrorNode, startOffset?: number): DebugJSONContent;
export {};