1 | import { NodeSpec } from 'prosemirror-model';
|
2 | import { NoMark } from './types/mark';
|
3 | import { ParagraphDefinition as Paragraph } from './paragraph';
|
4 | import { HeadingDefinition as Heading } from './heading';
|
5 | import { MediaSingleDefinition as MediaSingle } from './media-single';
|
6 | import { MediaGroupDefinition as MediaGroup } from './media-group';
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | export declare type NestedExpandContent = Array<Paragraph | Heading | MediaSingle | MediaGroup>;
|
13 |
|
14 |
|
15 |
|
16 | export interface NestedExpandBaseDefinition {
|
17 | type: 'nestedExpand';
|
18 | attrs: {
|
19 | title?: string;
|
20 | };
|
21 | content: NestedExpandContent;
|
22 | }
|
23 |
|
24 |
|
25 |
|
26 | export declare type NestedExpandDefinition = NestedExpandBaseDefinition & NoMark;
|
27 | export declare const nestedExpand: NodeSpec;
|