From 756cf826785a2d7e167ce22e886a3257e8557df8 Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Tue, 31 Mar 2026 17:07:19 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(frontend)=20fix=20styles=20in=20do?= =?UTF-8?q?c=20editor=20heading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The headings in the doc editor were not inheriting the correct style anymore due to a recent upgrade of Blocknote. This commit fixes the issue. --- .../apps/impress/src/features/docs/doc-editor/styles.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/apps/impress/src/features/docs/doc-editor/styles.tsx b/src/frontend/apps/impress/src/features/docs/doc-editor/styles.tsx index 872cef50..8f421c8c 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-editor/styles.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-editor/styles.tsx @@ -123,13 +123,13 @@ export const cssEditor = css` .bn-inline-content { text-decoration: none; } - h1 { + .bn-default-styles h1 { font-size: 1.875rem; } - h2 { + .bn-default-styles h2 { font-size: 1.5rem; } - h3 { + .bn-default-styles h3 { font-size: 1.25rem; } a {