@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
17 lines (16 loc) • 369 B
TypeScript
import { Inline } from './types/inline-content';
/**
* @name taskItem_node
*/
export interface TaskItemDefinition {
type: 'taskItem';
/**
* @allowUnsupportedInline true
*/
content?: Array<Inline>;
attrs: {
localId: string;
state: 'TODO' | 'DONE';
};
}
export declare const taskItem: import("prosemirror-model").NodeSpec;