7.9.0 Beta - Component Shortcode Bug

Hey!

Just loaded the beta on a staging site and noticed a bug immediately.

Whenever you use the component shortcode, like this, for example:
[cs_component id=“YKRhu8lzIQ3ziZ7WVG”]

It renders the entire component “document,” rather than just the element you defined as the component.

So, if I have a custom button component, and inside that component document I have a bunch of sections, divs, and text to describe the component, those are rendered too, even though they’re not part of the component itself.

Since it’s all broken, none of the <style> tags get rendered either, which you usually get when using the shortcode. So styling is also not present.

All the best,
Oguzhan

Thanks for testing.

I don’t seem to see this issue. Do you think you could send me a .tco file of the Component in question?

Yes! From my testing, it’s all components for me somehow, but I’ll drop the button component I mentioned in the secure note.

Also, attached are images of how I embedded the component via the “raw” element, though from my testing it doesn’t matter how I embed the shortcode, a screenshot from within the builder where the button shows as intended, and then how it shows up in the front-end.

I don’t seem to have this issue on your components. Do you have a live site I could look at?

I’ll link my staging site in the secure note below, including the password. You’ll notice the bug right on the homepage where I have a button component and a tooltip component in the navbar.

I’ll also drop the error log in there since it might be helpful.

I have the HTTP auth, but I need the WP Admin login to try and confirm what is going wrong in Cornerstone. Great looking site btw.

Sorry for the late reply here; I got a little busy last week.
I’ll add admin access to the secure note in a second, as well as some Cornerstore links to access the components, since it’s a very messy staging site where I’m doing a lot of testing :wink: