|
|
|
@ -323,13 +323,9 @@ export class CommandAdapt {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!changeElementList.length) return
|
|
|
|
if (!changeElementList.length) return
|
|
|
|
changeElementList.forEach(el => {
|
|
|
|
changeElementList.forEach(el => {
|
|
|
|
delete el.size
|
|
|
|
EDITOR_ELEMENT_STYLE_ATTR.forEach(attr => {
|
|
|
|
delete el.font
|
|
|
|
delete el[attr]
|
|
|
|
delete el.color
|
|
|
|
})
|
|
|
|
delete el.bold
|
|
|
|
|
|
|
|
delete el.italic
|
|
|
|
|
|
|
|
delete el.underline
|
|
|
|
|
|
|
|
delete el.strikeout
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
this.draw.render(renderOption)
|
|
|
|
this.draw.render(renderOption)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|