UNPKG

@atlaskit/adf-schema

Version:

Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs

19 lines (18 loc) 709 B
import { NodeSpec } from 'prosemirror-model'; import { CodeBlockWithMarksDefinition as CodeBlockWithMarks } from './code-block'; import { ExpandWithBreakoutDefinition as ExpandWithBreakout } from './expand'; import { LayoutSectionDefinition as LayoutSection } from './layout-section'; import { ParagraphWithIndentationDefinition } from './paragraph'; import { BlockContent } from './types/block-content'; /** * @name doc_node */ export interface DocNode { version: 1; type: 'doc'; /** * @allowUnsupportedBlock true */ content: Array<BlockContent | LayoutSection | CodeBlockWithMarks | ExpandWithBreakout | ParagraphWithIndentationDefinition>; } export declare const doc: NodeSpec;