mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-11 22:18:54 +08:00
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:
@@ -232,7 +232,7 @@ export class ExportManager {
|
|||||||
},
|
},
|
||||||
onclone: async (_documentClone: Document, element: HTMLElement) => {
|
onclone: async (_documentClone: Document, element: HTMLElement) => {
|
||||||
element.style.height = `${viewportHeight}px`;
|
element.style.height = `${viewportHeight}px`;
|
||||||
this._replaceRichTextWithSvgElement(element);
|
// this._replaceRichTextWithSvgElement(element);
|
||||||
await this.replaceImgSrcWithSvg(element);
|
await this.replaceImgSrcWithSvg(element);
|
||||||
},
|
},
|
||||||
backgroundColor: window.getComputedStyle(viewportElement).backgroundColor,
|
backgroundColor: window.getComputedStyle(viewportElement).backgroundColor,
|
||||||
|
|||||||
Reference in New Issue
Block a user