fix(web): export png split text error with comment out rich text replacement in export process (#11834)

Co-authored-by: Mirone <Saul-Mirone@outlook.com>
This commit is contained in:
doufa
2025-04-21 14:50:03 +08:00
committed by GitHub
parent f2adb9f72c
commit b036ff5a45

View File

@@ -232,7 +232,7 @@ export class ExportManager {
},
onclone: async (_documentClone: Document, element: HTMLElement) => {
element.style.height = `${viewportHeight}px`;
this._replaceRichTextWithSvgElement(element);
// this._replaceRichTextWithSvgElement(element);
await this.replaceImgSrcWithSvg(element);
},
backgroundColor: window.getComputedStyle(viewportElement).backgroundColor,