feat: add editor placeholder
This commit is contained in:
@@ -23,7 +23,7 @@ export interface IDrawRowPayload {
|
||||
pageNo: number;
|
||||
startIndex: number;
|
||||
innerWidth: number;
|
||||
zone: EditorZone;
|
||||
zone?: EditorZone;
|
||||
}
|
||||
|
||||
export interface IDrawPagePayload {
|
||||
|
||||
@@ -7,6 +7,7 @@ import { IFooter } from './Footer'
|
||||
import { IHeader } from './Header'
|
||||
import { IMargin } from './Margin'
|
||||
import { IPageNumber } from './PageNumber'
|
||||
import { IPlaceholder } from './Placeholder'
|
||||
import { ITitleOption } from './Title'
|
||||
import { IWatermark } from './Watermark'
|
||||
|
||||
@@ -58,6 +59,7 @@ export interface IEditorOption {
|
||||
checkbox?: ICheckboxOption;
|
||||
cursor?: ICursorOption;
|
||||
title?: ITitleOption;
|
||||
placeholder?: IPlaceholder;
|
||||
}
|
||||
|
||||
export interface IEditorResult {
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
export interface IPlaceholder {
|
||||
data: string;
|
||||
color?: string;
|
||||
opacity?: number;
|
||||
size?: number;
|
||||
font?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user