There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(web): export png split text error with comment out rich text replacement in export process (#11834)
doufab036ff5a459f
diff --git a/blocksuite/affine/blocks/surface/src/extensions/export-manager/export-manager.ts b/blocksuite/affine/blocks/surface/src/extensions/export-manager/export-manager.tsindex b35c32775f..6ae38015cc 100644--- a/blocksuite/affine/blocks/surface/src/extensions/export-manager/export-manager.ts+++ b/blocksuite/affine/blocks/surface/src/extensions/export-manager/export-manager.ts@@ -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,