UNPKG

370 BTypeScriptView Raw
1import { NodeSpec } from 'prosemirror-model';
2import { Inline } from './doc';
3/**
4 * @name taskItem_node
5 */
6export interface TaskItemDefinition {
7 type: 'taskItem';
8 /**
9 * @allowUnsupportedInline true
10 */
11 content?: Array<Inline>;
12 attrs: {
13 localId: string;
14 state: 'TODO' | 'DONE';
15 };
16}
17export declare const taskItem: NodeSpec;