fix: lose line break when set title

pr675
Hufe921 3 years ago
parent 8f1053ccfe
commit 722a910145

@ -409,6 +409,7 @@ export class CommandAdapt {
const titleId = getUUID()
const titleOptions = this.draw.getOptions().title
changeElementList.forEach(el => {
if (!el.type && el.value === ZERO) return
if (payload) {
el.level = payload
el.titleId = titleId

Loading…
Cancel
Save