UNPKG

@atlaskit/adf-schema

Version:

Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs

20 lines (19 loc) 558 B
import type { RichMediaAttributes } from './types/rich-media-common'; export interface EmbedCardAttributes extends RichMediaAttributes { localId?: string; originalHeight?: number; originalWidth?: number; /** * @validatorFn safeUrl */ url: string; } /** * @name embedCard_node */ export interface EmbedCardDefinition { attrs: EmbedCardAttributes; type: 'embedCard'; } export declare const embedCard: import("prosemirror-model").NodeSpec; export declare const embedCardWithLocalId: import("prosemirror-model").NodeSpec;