UNPKG

@atlaskit/adf-schema

Version:

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

17 lines (16 loc) 429 B
import type { MarkSpec } from '@atlaskit/editor-prosemirror/model'; /** TODO: Flip these positions for RTL */ export declare const alignmentPositionMap: { [key: string]: string; }; export interface AlignmentAttributes { align: 'center' | 'end'; } /** * @name alignment_mark */ export interface AlignmentMarkDefinition { attrs: AlignmentAttributes; type: 'alignment'; } export declare const alignment: MarkSpec;