feat: preserve ocd value ids
This commit is contained in:
parent
d34d1709ef
commit
6d74559a0f
|
|
@ -39,6 +39,7 @@ export const EDITOR_ELEMENT_COPY_ATTR: Array<keyof IElement> = [
|
||||||
]
|
]
|
||||||
|
|
||||||
export const EDITOR_ELEMENT_ZIP_ATTR: Array<keyof IElement> = [
|
export const EDITOR_ELEMENT_ZIP_ATTR: Array<keyof IElement> = [
|
||||||
|
'id',
|
||||||
'type',
|
'type',
|
||||||
'font',
|
'font',
|
||||||
'size',
|
'size',
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import { IEditorData } from '../editor'
|
||||||
|
|
||||||
const CONFLICT_MARKER_HIGHLIGHT = '#fff3cd'
|
const CONFLICT_MARKER_HIGHLIGHT = '#fff3cd'
|
||||||
const CONFLICT_MARKER_COLOR = '#b42318'
|
const CONFLICT_MARKER_COLOR = '#b42318'
|
||||||
const CONFLICT_MARKER_REG = /^(<<<<<<<|=======|>>>>>>>)\b/
|
const CONFLICT_MARKER_REG = /^(<<<<<<<|=======|>>>>>>>).*/
|
||||||
|
|
||||||
type UnknownRecord = Record<string, unknown>
|
type UnknownRecord = Record<string, unknown>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user