feat:add superscript and subscript

This commit is contained in:
黄云飞
2022-01-14 14:40:19 +08:00
parent 8939d42295
commit ae3de7bf55
14 changed files with 122 additions and 13 deletions
+5 -1
View File
@@ -43,7 +43,11 @@ export interface IHyperlinkElement {
export type ITable = ITableAttr & ITableElement
export type IElement = IElementBasic & IElementStyle & ITable & IHyperlinkElement
export interface ISuperscriptSubscript {
actualSize?: number;
}
export type IElement = IElementBasic & IElementStyle & ITable & IHyperlinkElement & ISuperscriptSubscript
export interface IElementMetrics {
width: number;
+2
View File
@@ -1,7 +1,9 @@
import { ElementType } from ".."
import { RowFlex } from "../dataset/enum/Row"
import { IEditorResult } from "./Editor"
export interface IRangeStype {
type: ElementType | null;
undo: boolean;
redo: boolean;
painter: boolean;