1 | import { NodeSpec } from 'prosemirror-model';
|
2 | import { RichMediaAttributes } from './types/rich-media-common';
|
3 | export interface EmbedCardAttributes extends RichMediaAttributes {
|
4 | originalWidth?: number;
|
5 | originalHeight?: number;
|
6 | /**
|
7 | * @validatorFn safeUrl
|
8 | */
|
9 | url: string;
|
10 | }
|
11 | /**
|
12 | * @name embedCard_node
|
13 | */
|
14 | export interface EmbedCardDefinition {
|
15 | type: 'embedCard';
|
16 | attrs: EmbedCardAttributes;
|
17 | }
|
18 | export declare const embedCard: NodeSpec;
|