UNPKG

407 BTypeScriptView Raw
1import { MarkSpec } from 'prosemirror-model';
2/** TODO: Flip these positions for RTL */
3export declare const alignmentPositionMap: {
4 [key: string]: string;
5};
6export interface AlignmentAttributes {
7 align: 'center' | 'end';
8}
9/**
10 * @name alignment_mark
11 */
12export interface AlignmentMarkDefinition {
13 type: 'alignment';
14 attrs: AlignmentAttributes;
15}
16export declare const alignment: MarkSpec;