UNPKG

412 BTypeScriptView Raw
1import { NodeSpec } from 'prosemirror-model';
2export interface UrlType {
3 url: string;
4}
5export interface DataType {
6 /**
7 * @additionalProperties true
8 */
9 data: object;
10}
11export declare type CardAttributes = UrlType | DataType;
12/**
13 * @name blockCard_node
14 */
15export interface BlockCardDefinition {
16 type: 'blockCard';
17 attrs: CardAttributes;
18}
19export declare const blockCard: NodeSpec;