@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
18 lines (17 loc) • 450 B
TypeScript
import { RichMediaAttributes } from './types/rich-media-common';
export interface EmbedCardAttributes extends RichMediaAttributes {
originalWidth?: number;
originalHeight?: number;
/**
* @validatorFn safeUrl
*/
url: string;
}
/**
* @name embedCard_node
*/
export interface EmbedCardDefinition {
type: 'embedCard';
attrs: EmbedCardAttributes;
}
export declare const embedCard: import("prosemirror-model").NodeSpec;