feat:增加格式刷
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
export interface IElement {
|
||||
type?: 'TEXT' | 'IMAGE';
|
||||
value: string;
|
||||
export interface IElementStyle {
|
||||
font?: string;
|
||||
size?: number;
|
||||
width?: number;
|
||||
@@ -12,6 +10,13 @@ export interface IElement {
|
||||
strikeout?: boolean;
|
||||
}
|
||||
|
||||
export interface IElementBasic {
|
||||
type?: 'TEXT' | 'IMAGE';
|
||||
value: string;
|
||||
}
|
||||
|
||||
export type IElement = IElementBasic & IElementStyle
|
||||
|
||||
export interface IElementPosition {
|
||||
index: number;
|
||||
value: string,
|
||||
|
||||
Reference in New Issue
Block a user