From 3800ee29634dcdd1be4b060606296c6299acd3ef Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Tue, 10 Feb 2026 21:50:45 +0400 Subject: [PATCH] don't show block options if no write permissions --- components/Blocks/Block.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/Blocks/Block.tsx b/components/Blocks/Block.tsx index dbf1e61c..33ff933a 100644 --- a/components/Blocks/Block.tsx +++ b/components/Blocks/Block.tsx @@ -419,6 +419,7 @@ const NonTextBlockOptions = (props: { if (focusedEntity?.entityType === "page") return; if (isMultiselected) return; + if (!entity_set.permissions.write) return null; return (