UNPKG

709 BTypeScriptView Raw
1import { NodeSpec } from 'prosemirror-model';
2import { CodeBlockWithMarksDefinition as CodeBlockWithMarks } from './code-block';
3import { ExpandWithBreakoutDefinition as ExpandWithBreakout } from './expand';
4import { LayoutSectionDefinition as LayoutSection } from './layout-section';
5import { ParagraphWithIndentationDefinition } from './paragraph';
6import { BlockContent } from './types/block-content';
7/**
8 * @name doc_node
9 */
10export interface DocNode {
11 version: 1;
12 type: 'doc';
13 /**
14 * @allowUnsupportedBlock true
15 */
16 content: Array<BlockContent | LayoutSection | CodeBlockWithMarks | ExpandWithBreakout | ParagraphWithIndentationDefinition>;
17}
18export declare const doc: NodeSpec;