@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
17 lines (16 loc) • 424 B
TypeScript
import { 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 {
type: 'alignment';
attrs: AlignmentAttributes;
}
export declare const alignment: MarkSpec;