1 | import { Mark, MarkSpec } from 'prosemirror-model';
|
2 | export interface TextColorAttributes {
|
3 | |
4 |
|
5 |
|
6 |
|
7 | color: string;
|
8 | }
|
9 |
|
10 |
|
11 |
|
12 | export interface TextColorDefinition {
|
13 | type: 'textColor';
|
14 | attrs: TextColorAttributes;
|
15 | }
|
16 | export interface TextColorMark extends Mark {
|
17 | attrs: TextColorAttributes;
|
18 | }
|
19 | export declare type TextColorKey = 'Light gray' | 'Purple' | 'Teal' | 'Green' | 'Red' | 'Orange' | 'Dark gray' | 'Blue' | 'Yellow' | 'Dark blue' | 'Dark teal' | 'Dark green' | 'Dark red' | 'Dark purple' | 'White' | 'Light blue' | 'Light teal' | 'Light green' | 'Light yellow' | 'Light red' | 'Light purple';
|
20 | export declare const colorPalette: Map<string, TextColorKey>;
|
21 | export declare const colorPaletteExperimental: Map<string, TextColorKey>;
|
22 | export declare const textColor: MarkSpec;
|