UNPKG

@atlaskit/adf-schema

Version:

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

25 lines (24 loc) 582 B
import { AnnotationMarkDefinition } from '../marks/annotation'; /** * @name status_node */ export interface StatusDefinition { type: 'status'; attrs: { /** * @minLength 1 */ text: string; color: 'neutral' | 'purple' | 'blue' | 'red' | 'yellow' | 'green'; localId?: string; /** * Supported values are bold and subtle */ style?: string; }; /** * @stage 0 */ marks?: Array<AnnotationMarkDefinition>; } export declare const status: import("prosemirror-model").NodeSpec;