UNPKG

282 BTypeScriptView Raw
1import { NodeSpec } from 'prosemirror-model';
2/**
3 * @name text_node
4 */
5export interface TextDefinition {
6 type: 'text';
7 /**
8 * @minLength 1
9 */
10 text: string;
11 marks?: Array<any>;
12}
13export declare const text: NodeSpec & {
14 toDebugString?: () => string;
15};