UNPKG

@atlaskit/adf-schema

Version:

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

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