Skip to content

Commit 19f664e

Browse files
committed
fix: hide image option
1 parent 9e8c581 commit 19f664e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Foundary/RichText/plugins/toolbar-plugin.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ export default function ToolbarPlugin() {
469469
))}
470470
</DropdownMenuContent>
471471
</DropdownMenu>
472-
<DropdownMenu>
472+
{/* <DropdownMenu>
473473
<DropdownMenuTrigger className="flex items-center justify-center gap-2 px-2 py-1 rounded hover:bg-[#3c3c3c] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-[#3a3a3a] focus:ring-[#3c3c3c] text-[#b5b5b5] text-xs">
474474
<Plus width={15} height={15} />
475475
<ChevronDown width={15} height={15} />
@@ -487,7 +487,7 @@ export default function ToolbarPlugin() {
487487
</DropdownMenuItem>
488488
))}
489489
</DropdownMenuContent>
490-
</DropdownMenu>
490+
</DropdownMenu> */}
491491
{/* {imageDialogOpen && (
492492
<InsertInlineImageDialog
493493
activeEditor={editor}

0 commit comments

Comments
 (0)