Skip to content

Commit

Permalink
fix: descendants constraint (#4609)
Browse files Browse the repository at this point in the history
Forgot we have markdown embed. Now everything should work well.
  • Loading branch information
TrySound authored Dec 19, 2024
1 parent 88217ac commit 2d7cfba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-sdk/src/core-components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const descendantMeta: WsComponentMeta = {
icon: PaintBrushIcon,
constraints: {
relation: "parent",
component: { $eq: "HtmlEmbed" },
component: { $in: ["HtmlEmbed", "MarkdownEmbed"] },
},
};

Expand Down

0 comments on commit 2d7cfba

Please sign in to comment.