Cornerstone builder preview not executing JS for custom shortcode content

I added a custom shortcode that I made to the homepage via the cornerstone page builder and it shows up perfect on the front end, but not the preview window in the page builder. The JS code for that element is not firing. Why is it not firing in the builder preview?

The carousel of stories under “Voices of Vision” is what doesn’t execute in the builder preview, but you can see it works on the website.

For support: see secure note for website url.

Did some testing and it looks like any element added by Cornerstone builder that requires custom script cannot be previewed. Only default Cornerstone shortcodes can be previewed (such as slider, etc.). Is there a fix for this so I can preview my custom shortcodes/js in the page builder?

Hi There,

It depends on how the code of the custom element/shortcode was added or if there’s a conflict with Cornerstone JS libary. Check the console on where the conflict is coming from. Unfortunately, since this issue is a result of customization, this is outside the scope of our support. Thank you for understanding.

Thanks! Totally understand that.

You’re welcome.