UNPKG

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