From a0ae8932b48fcba06d20acd651496ee932febff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rebecca=20Ko=CC=88nig?= Date: Thu, 9 Nov 2023 16:57:05 +0100 Subject: [PATCH] fix: show RT embed button for only inline resource --- packages/rich-text/src/Toolbar/components/EmbedEntityWidget.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/rich-text/src/Toolbar/components/EmbedEntityWidget.tsx b/packages/rich-text/src/Toolbar/components/EmbedEntityWidget.tsx index 6977ff4f9..b258da52a 100644 --- a/packages/rich-text/src/Toolbar/components/EmbedEntityWidget.tsx +++ b/packages/rich-text/src/Toolbar/components/EmbedEntityWidget.tsx @@ -78,6 +78,7 @@ export const EmbedEntityWidget = ({ isDisabled, canInsertBlocks }: EmbedEntityWi blockEntryEmbedEnabled || blockResourceEmbedEnabled || inlineEntryEmbedEnabled || + inlineResourceEmbedEnabled || blockAssetEmbedEnabled; return showEmbedButton ? (