From dc12a99d4a768129b8df7a043cb45fa30fa19d89 Mon Sep 17 00:00:00 2001 From: Cyril Date: Wed, 12 Nov 2025 14:06:12 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(pdf)=20fix=20table=20cell=20alignment?= =?UTF-8?q?=20issue=20in=20exported=20documents?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ensures correct horizontal alignment of text based on cell props Signed-off-by: Cyril --- CHANGELOG.md | 1 + .../docs/doc-export/blocks-mapping/tablePDF.tsx | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a43001980c..80cf3cca17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ and this project adheres to - 🐛(docx) fix image overflow by limiting width to 600px during export #1525 - 🐛(frontend) preserve @ character when esc is pressed after typing it #1512 - 🐛(frontend) fix pdf embed to use full width #1526 +- 🐛(pdf) fix table cell alignment issue in exported documents #1582 ## [3.9.0] - 2025-11-10 diff --git a/src/frontend/apps/impress/src/features/docs/doc-export/blocks-mapping/tablePDF.tsx b/src/frontend/apps/impress/src/features/docs/doc-export/blocks-mapping/tablePDF.tsx index 8c7a001549..b5f019440c 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-export/blocks-mapping/tablePDF.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-export/blocks-mapping/tablePDF.tsx @@ -103,7 +103,15 @@ export const blockMappingTablePDF: DocsExporterPDF['mappings']['blockMapping'][' return ( - + {exporter.transformInlineContent(cell)}