Cornerstone Preview Panel Won't Load Global Block in a Tab

Hi there,

I am using the Tabs v2 element to create a single-screen webpage. In order to do this, I am loading Global Blocks into each Tab so that way they can be managed on a per-tab basis as opposed to having to make adjustments to the overarching Tabs element each time. Each individual Tab’s content then is then just its respective Global Block shortcode.

With the new release (just went from 2.1.6 to 2.2.5 when this issue arose, so unclear if it’s 2.2.5 or 2.2.x as a whole), Cornerstone no longer loads the Global Block content inside of each tab, instead showing a red loading icon and the entire Tabs element refuses to load.

Is there a workaround for this?

Reproduction Steps

  1. Create a Global Block of any kind.
  2. Create a Tabs v2 element on a page.
  3. Change a Tab’s content to the Global Block shortcode.
  4. Save and refresh the page editor.

Result: the Tabs v2 element will no longer load in the preview window.

Hi Matt,

Thank you for your feedback, but I can’t replicate this one on my end. My Global Blocks (on each tabs items) display fine on front-end and backend.

Maybe there is a broken HTML tag somewhere on your page. Please audit your page’s custom codes and check for unclosed HTML tag.

And remember to clear all caches (plugin, server-side, CDN, and browser’s cache) after updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

Cheers!

Hi @friech,

Thanks for checking this one for me. It appears it’s an issue with the Custom Twitter Feeds plugin – for some reason when the plugin is included in a global block within an individual tab, it prevents the entire Tabs element from loading in the preview window, although it works perfectly fine on the front-end.

Very strange, as I am using the Instagram Feed plugin from the same developer with no issues, nor am I getting any warnings about the plugin when I turn on wp_debug.

I know it’s a third-party plugin, but any suggestions for how I might go about finding the conflict?

Thanks again,
Matt

Hey Matt,

Some Javascript dependent display can’t be shown in the builder like the third party plugins bundled in Pro. It could also be a problem with Twitter’s API or something. Regretfully, issues coming from a third party plugin should be directed to the third party plugin developer.

Thank you for understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.