1 | import { NodeSpec } from 'prosemirror-model';
|
2 | import { ParagraphDefinition as Paragraph } from './paragraph';
|
3 | import { OrderedListDefinition as OrderedList } from './ordered-list';
|
4 | import { BulletListDefinition as BulletList } from './bullet-list';
|
5 | import { HeadingDefinition as Heading } from './heading';
|
6 | export declare type PanelType = 'info' | 'note' | 'tip' | 'warning' | 'error' | 'success';
|
7 | export interface PanelAttributes {
|
8 | panelType: PanelType;
|
9 | }
|
10 |
|
11 |
|
12 |
|
13 | export interface PanelDefinition {
|
14 | type: 'panel';
|
15 | attrs: PanelAttributes;
|
16 | |
17 |
|
18 |
|
19 | content: Array<Paragraph | Heading | OrderedList | BulletList>;
|
20 | }
|
21 | export interface DOMAttributes {
|
22 | [propName: string]: string;
|
23 | }
|
24 | export declare const panel: NodeSpec;
|