From 23231563c9e49860774c43031f0a124fbd36d07b Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Thu, 14 Nov 2024 16:37:45 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84(frontend)=20text=20color=20on=20Bl?= =?UTF-8?q?ocknote=20code=20block=20options?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The options for the code block in the Blocknote editor was not visible. We changed the text color to make it visible. A fix will be made to the code block options in the next blocknote release. --- .../features/docs/doc-editor/components/BlockNoteEditor.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteEditor.tsx b/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteEditor.tsx index 5e878f3e0..d6fd9c0a6 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteEditor.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteEditor.tsx @@ -42,6 +42,11 @@ const cssEditor = (readonly: boolean) => ` padding: 2px; border-radius: 4px; } + /* @TODO: A fix is made in v0.19.1 - This code can be removed after the upgrade */ + .bn-block-content[data-content-type=codeBlock]>div>select option{ + color: black; + background-color: white; + } @media screen and (width <= 560px) { & .bn-editor { padding-left: 40px;