fix: descendants constraint (#4609)

Forgot we have markdown embed. Now everything should work well.
This commit is contained in:
Bogdan Chadkin authored and GitHub committed 2024-12-19 22:05:02 +07:00
1 parent 88217acc26
commit 2d7cfba8a4
1 file changed
+1 -1
+1 -1
View File
@@ -96,7 +96,7 @@ const descendantMeta: WsComponentMeta = {
icon: PaintBrushIcon,
constraints: {
relation: "parent",
component: { $eq: "HtmlEmbed" },
component: { $in: ["HtmlEmbed", "MarkdownEmbed"] },
},
};