@wangeditor-next/yjs-for-react
Version:
React specific components/utils for wangeditor-next-yjs.
36 lines (35 loc) • 1.88 kB
TypeScript
/**
* @description CSS values shared by text-style render and HTML serialization
*/
export declare const UNDERLINE_OFFSET = "0.15em";
export declare const WAVY_UNDERLINE_OFFSET = "0.3em";
export declare const WAVY_UNDERLINE_WITH_EMPHASIS_OFFSET = "0.8em";
export declare const EMPHASIS_DOT_WITH_WAVY_LINE_HEIGHT = "2";
export declare const UNDERLINE_OFFSET_CLASS = "w-e-text-style-underline-offset";
export declare const WAVY_UNDERLINE_CLASS = "w-e-text-style-wavy-underline";
export declare const WAVY_UNDERLINE_WITH_EMPHASIS_CLASS = "w-e-text-style-wavy-underline-with-emphasis";
export declare const EMPHASIS_DOT_CLASS = "w-e-text-style-emphasis-dot";
export declare const EMPHASIS_DOT_WITH_WAVY_CLASS = "w-e-text-style-emphasis-dot-with-wavy";
export declare const WAVY_UNDERLINE_STYLE: {
textDecorationLine: string;
textDecorationStyle: string;
textUnderlineOffset: string;
};
export declare const WAVY_UNDERLINE_STYLE_HTML = "text-decoration-line: underline; text-decoration-style: wavy; text-underline-offset: 0.3em;";
export declare const WAVY_UNDERLINE_WITH_EMPHASIS_STYLE: {
textUnderlineOffset: string;
textDecorationLine: string;
textDecorationStyle: string;
};
export declare const WAVY_UNDERLINE_WITH_EMPHASIS_STYLE_HTML = "text-decoration-line: underline; text-decoration-style: wavy; text-underline-offset: 0.8em;";
export declare const EMPHASIS_DOT_STYLE: {
textEmphasisStyle: string;
textEmphasisPosition: string;
};
export declare const EMPHASIS_DOT_STYLE_HTML = "text-emphasis-style: filled dot; text-emphasis-position: under left;";
export declare const EMPHASIS_DOT_WITH_WAVY_STYLE: {
lineHeight: string;
textEmphasisStyle: string;
textEmphasisPosition: string;
};
export declare const EMPHASIS_DOT_WITH_WAVY_STYLE_HTML = "text-emphasis-style: filled dot; text-emphasis-position: under left; line-height: 2;";