UNPKG

@atlaskit/adf-schema

Version:

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

21 lines (20 loc) 484 B
import { AnnotationMarkDefinition } from '../marks/annotation'; /** * @name date_node */ export interface DateDefinition { type: 'date'; attrs: { /** * @minLength 1 */ timestamp: string; localId?: string; }; /** * @stage 0 */ marks?: Array<AnnotationMarkDefinition>; } export declare const date: import("prosemirror-model").NodeSpec; export declare const dateWithLocalId: import("prosemirror-model").NodeSpec;