Skip to content

Commit

Permalink
refactor: fix descendants constraint
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 committed Dec 17, 2024
1 parent 0c2f4e4 commit bd8ae7a
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 bd8ae7a

Please sign in to comment.