From 2d7cfba8a4ea1e9cde73284938258668d85fecf4 Mon Sep 17 00:00:00 2001 From: Bogdan Chadkin Date: Thu, 19 Dec 2024 22:05:02 +0700 Subject: [PATCH] fix: descendants constraint (#4609) Forgot we have markdown embed. Now everything should work well. --- packages/react-sdk/src/core-components.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-sdk/src/core-components.ts b/packages/react-sdk/src/core-components.ts index 7873aa1f2389..9053d56f4cbc 100644 --- a/packages/react-sdk/src/core-components.ts +++ b/packages/react-sdk/src/core-components.ts @@ -96,7 +96,7 @@ const descendantMeta: WsComponentMeta = { icon: PaintBrushIcon, constraints: { relation: "parent", - component: { $eq: "HtmlEmbed" }, + component: { $in: ["HtmlEmbed", "MarkdownEmbed"] }, }, };