feat:edit page header

This commit is contained in:
Hufe921
2023-03-18 12:18:28 +08:00
parent da2dfd3a16
commit 6082ab26d1
19 changed files with 313 additions and 109 deletions
+2 -3
View File
@@ -7,14 +7,12 @@ import { IHeader } from './Header'
import { IMargin } from './Margin'
import { IWatermark } from './Watermark'
export interface IEditorDrawData {
export interface IEditorData {
header?: IElement[];
main: IElement[];
footer?: IElement[];
}
export type IEditorData = IEditorDrawData | IElement[]
export interface IEditorOption {
mode?: EditorMode;
defaultType?: string;
@@ -50,6 +48,7 @@ export interface IEditorOption {
defaultHyperlinkColor?: string;
headerTop?: number;
paperDirection?: PaperDirection;
inactiveAlpha?: number;
header?: IHeader;
watermark?: IWatermark;
control?: IControlOption;