Hi, I have tried out the new Shortcodes for exported components. It has similar (but other) troubles as the old shortcode of global blocks.
To recreate:
- Make a page, and put an accordion on it
- In the accordion content, place a shortcode to an exported component.
- That exported compontent should contain a simple text element. You get slightly different behavior (none of it correct behavior) when you export only the text element, or the text element with some surrounding framework (e.g. the parent Div, or even parent section).
- The text element shall simply contain the text {{dc:post:titel}}
Observation: the post titel (i.e., the name of the page that you have created) does not show in the Accordion, but at the top of the page, even above the header. The (wrong) placement of the text is different in the builder (below accordion) and on the frontend (above header).
If you place the same accordion within a looper (e.g. looping recent posts), {{dc:post:titel}} should show the titel of the consumed posts. But it does not, it also shows the page titel, consistent with the wrong placement where it outputs - as if it does not belong to the accordion inside the looper.
If, instead of an exported component, you place an old global block inside the accordion it does also not pull the proper post titel, but at least it shows the output at the correct position inside the accordion. This I have reposrted previously (https://theme.co/forum/t/old-global-block-issue-still-a-problem-in-v6-b2/100928) - see also the secure note in that previous post for access to the staging site where it is happening.