Weird content tree behaviour
Hello,
I'm struggling with a component content tree issue that I've got on my custom component.
I'll attatch a screenshot to make it simpler ![]()

My custom component named "Calendar Card Item" is injected via:
data-sly-resource
two other components are added inside it - Button and Text. Unfortunately, in the content tree they are not below the Calendar Card Item, they are not nested. Is this a known issue?
I add like this:
<sly data-sly-resource="${'button' @ resourceType='test/package/components/button'}"></sly>
I tried replacing sly with div and adding a custom css class but it did not help. Does anybody got an idea what am I doing wrong?

