@zodiac-ui/editor
Version:
A rich text editor for Angular based on `@atlaskit/editor-core`.
18 lines (17 loc) • 436 B
TypeScript
import { MarkSpec } from 'prosemirror-model';
/** TODO: Flip these positions for RTL */
export declare const alignmentPositionMap: {
[key: string]: string;
};
export interface AlignmentAttributes {
align: 'center' | 'end';
}
/**
* @name alignment_mark
* @stage 0
*/
export interface AlignmentMarkDefinition {
type: 'alignment';
attrs: AlignmentAttributes;
}
export declare const alignment: MarkSpec;