@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
21 lines (20 loc) • 459 B
TypeScript
import { NodeSpec } from 'prosemirror-model';
/**
* @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;
};
}
export declare const status: NodeSpec;