1 | import { NodeSpec } from 'prosemirror-model';
|
2 | import { LinkDefinition } from '../marks/link';
|
3 | import { MediaBaseAttributes } from './media';
|
4 | export interface MediaInlineAttributes extends MediaBaseAttributes {
|
5 | data?: object;
|
6 | type?: 'file' | 'link';
|
7 | }
|
8 | /**
|
9 | * @name mediaInline_node
|
10 | */
|
11 | export interface MediaInlineDefinition {
|
12 | type: 'mediaInline';
|
13 | attrs: MediaInlineAttributes;
|
14 | marks?: Array<LinkDefinition>;
|
15 | }
|
16 | export declare const mediaInline: NodeSpec;
|