1 | import { NodeSpec } from 'prosemirror-model';
|
2 | import { ExtensionContent } from './doc';
|
3 | export declare type ExtensionLayout = 'default' | 'wide' | 'full-width';
|
4 | /**
|
5 | * @name bodiedExtension_node
|
6 | */
|
7 | export interface BodiedExtensionDefinition {
|
8 | type: 'bodiedExtension';
|
9 | attrs: {
|
10 | /**
|
11 | * @minLength 1
|
12 | */
|
13 | extensionKey: string;
|
14 | /**
|
15 | * @minLength 1
|
16 | */
|
17 | extensionType: string;
|
18 | parameters?: object;
|
19 | text?: string;
|
20 | layout?: ExtensionLayout;
|
21 | };
|
22 | content: ExtensionContent;
|
23 | }
|
24 | export declare const bodiedExtension: NodeSpec;
|