From d51df80c13440713c686565ff885b84a6051d7c8 Mon Sep 17 00:00:00 2001 From: Anoop P <44577841+anoopw3bdev@users.noreply.github.com> Date: Mon, 17 Mar 2025 16:02:42 +0530 Subject: [PATCH] fix: add icon for code block (#10924) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #10923 Screenshot 2025-03-16 at 1 44 51 AM Co-authored-by: Weiko --- .../src/modules/activities/blocks/utils/getSlashMenu.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/twenty-front/src/modules/activities/blocks/utils/getSlashMenu.ts b/packages/twenty-front/src/modules/activities/blocks/utils/getSlashMenu.ts index 760a778b5..7bac01b75 100644 --- a/packages/twenty-front/src/modules/activities/blocks/utils/getSlashMenu.ts +++ b/packages/twenty-front/src/modules/activities/blocks/utils/getSlashMenu.ts @@ -1,5 +1,6 @@ import { getDefaultReactSlashMenuItems } from '@blocknote/react'; import { + IconCode, IconComponent, IconFile, IconH1, @@ -27,6 +28,7 @@ const Icons: Record = { 'Numbered List': IconListNumbers, 'Bullet List': IconList, 'Check List': IconListCheck, + 'Code Block': IconCode, Paragraph: IconPilcrow, Table: IconTable, Image: IconPhoto,