fix: blockquote icon in slash menu (#13068)

This PR fixes a UI bug where the "Quote" item in the slash command menu
was displayed without an icon.


The root cause was that the IconBlockquote component, while available in
the icons library, was not being exported from the internal twenty-ui
package.

## Before / After


![Before](https://github.com/user-attachments/assets/afd5e848-b6a4-4af9-a01d-15c6128f8535)


![After](https://github.com/user-attachments/assets/2468371f-fdd6-42a0-b04b-61a51d286746)


## Changes:

- Exported IconBlockquote from TablerIcons.ts in the twenty-ui package.
- Updated getSlashMenu.ts in the twenty-front package to import and use
the IconBlockquote for the "Quote" menu item.
This commit is contained in:
Jean-Baptiste Ronssin
2025-07-08 10:09:42 +02:00
committed by GitHub
parent 380e8aff86
commit ebaec00cce
3 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import { SuggestionItem } from '@/ui/input/editor/components/CustomSlashMenu';
import { BLOCK_SCHEMA } from '../constants/Schema';
import {
IconBlockquote,
IconCode,
IconComponent,
IconFile,
@ -25,6 +26,7 @@ const Icons: Record<string, IconComponent> = {
'Heading 1': IconH1,
'Heading 2': IconH2,
'Heading 3': IconH3,
Quote: IconBlockquote,
'Numbered List': IconListNumbers,
'Bullet List': IconList,
'Check List': IconListCheck,