feat: add element group
This commit is contained in:
@@ -26,7 +26,8 @@ export const EDITOR_ELEMENT_COPY_ATTR: Array<keyof IElement> = [
|
||||
'url',
|
||||
'hyperlinkId',
|
||||
'dateId',
|
||||
'dateFormat'
|
||||
'dateFormat',
|
||||
'groupIds'
|
||||
]
|
||||
|
||||
export const EDITOR_ELEMENT_ZIP_ATTR: Array<keyof IElement> = [
|
||||
@@ -56,7 +57,8 @@ export const EDITOR_ELEMENT_ZIP_ATTR: Array<keyof IElement> = [
|
||||
'level',
|
||||
'listType',
|
||||
'listStyle',
|
||||
'listWrap'
|
||||
'listWrap',
|
||||
'groupIds'
|
||||
]
|
||||
|
||||
export const TABLE_CONTEXT_ATTR: Array<keyof IElement> = [
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
import { IGroup } from '../../interface/Group'
|
||||
|
||||
export const defaultGroupOption: Readonly<Required<IGroup>> = {
|
||||
opacity: 0.1,
|
||||
backgroundColor: '#E99D00',
|
||||
activeOpacity: 0.5,
|
||||
activeBackgroundColor: '#E99D00',
|
||||
disabled: false
|
||||
}
|
||||
Reference in New Issue
Block a user