From a5ab5ba12e9e9a4566c7829e9531ec002264d843 Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Sun, 6 Jul 2025 23:09:25 -0400 Subject: [PATCH] fix double click issue w/ alt text --- components/Blocks/ImageBlock.tsx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/components/Blocks/ImageBlock.tsx b/components/Blocks/ImageBlock.tsx index ac41a101..8f0bbd4c 100644 --- a/components/Blocks/ImageBlock.tsx +++ b/components/Blocks/ImageBlock.tsx @@ -177,10 +177,20 @@ const ImageAlt = (props: { entityID: string }) => {
setAltEditorOpen(o ? props.entityID : null)} className="text-sm max-w-xs min-w-0" side="left" - trigger={} + asChild + trigger={ + + } > {entity_set.permissions.write ? (