feat:增加分页功能

This commit is contained in:
黄云飞
2021-11-26 14:44:18 +08:00
parent 493d629757
commit 7dd3c3f3c7
26 changed files with 388 additions and 243 deletions
+3
View File
@@ -4,6 +4,9 @@ export interface IEditorOption {
defaultSize?: number;
defaultBasicRowMarginHeight?: number;
defaultRowMargin?: number;
width?: number;
height?: number;
pageGap?: number;
underlineColor?: string;
strikeoutColor?: string;
rangeColor?: string;
+1
View File
@@ -32,6 +32,7 @@ export interface IElementBasic {
export type IElement = IElementBasic & IElementStyle
export interface IElementPosition {
pageNo: number;
index: number;
value: string,
rowNo: number;
+1 -1
View File
@@ -15,4 +15,4 @@ export interface IRangeStype {
rowMargin: number
}
export type IRangeStyleChange = (payload: IRangeStype) => void;
export type IRangeStyleChange = (payload: IRangeStype) => void