feat:content block core
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { ControlComponent, ImageDisplay } from '../dataset/enum/Control'
|
||||
import { ElementType } from '../dataset/enum/Element'
|
||||
import { RowFlex } from '../dataset/enum/Row'
|
||||
import { IBlock } from './Block'
|
||||
import { ICheckbox } from './Checkbox'
|
||||
import { IControl } from './Control'
|
||||
import { IColgroup } from './table/Colgroup'
|
||||
@@ -78,6 +79,10 @@ export interface IImageElement {
|
||||
imgDisplay?: ImageDisplay
|
||||
}
|
||||
|
||||
export interface IBlockElement {
|
||||
block?: IBlock;
|
||||
}
|
||||
|
||||
export type IElement = IElementBasic
|
||||
& IElementStyle
|
||||
& ITable
|
||||
@@ -89,6 +94,7 @@ export type IElement = IElementBasic
|
||||
& ILaTexElement
|
||||
& IDateElement
|
||||
& IImageElement
|
||||
& IBlockElement
|
||||
|
||||
export interface IElementMetrics {
|
||||
width: number;
|
||||
|
||||
Reference in New Issue
Block a user