feat:增加行间距

This commit is contained in:
黄云飞
2021-11-19 15:53:37 +08:00
parent e41ec6eb09
commit cc0b936704
12 changed files with 84 additions and 7 deletions
+2
View File
@@ -2,6 +2,8 @@ export interface IEditorOption {
defaultType?: string;
defaultFont?: string;
defaultSize?: number;
defaultBasicRowMarginHeight?: number;
defaultRowMargin?: number;
underlineColor?: string;
strikeoutColor?: string;
rangeColor?: string;
+1
View File
@@ -12,6 +12,7 @@ export interface IElementStyle {
underline?: boolean;
strikeout?: boolean;
rowFlex?: RowFlex;
rowMargin?: number;
}
export interface IElementBasic {
+1
View File
@@ -12,6 +12,7 @@ export interface IRangeStype {
color: string | null;
highlight: string | null;
rowFlex: RowFlex | null;
rowMargin: number
}
export type IRangeStyleChange = (payload: IRangeStype) => void;