UNPKG

406 BTypeScriptView Raw
1import { NodeSpec } from 'prosemirror-model';
2import { CardAttributes } from './block-card';
3export interface UrlType {
4 url: string;
5}
6export interface DataType {
7 /**
8 * @additionalProperties true
9 */
10 data: object;
11}
12/**
13 * @name inlineCard_node
14 */
15export interface InlineCardDefinition {
16 type: 'inlineCard';
17 attrs: CardAttributes;
18}
19export declare const inlineCard: NodeSpec;