Slow loading of CB causes issues with TinyMCE

Hi Mark,

We’ve discovered an issue with ContentBlocks when using a slow connection, or forcing the browser to emulate a slow connection such as 3G.

When a slow connection is in place, the page will sometimes render without the rich text editor block and an error will be placed in the console, suggesting that the plugin is being called on an element that doesn’t exist. We’ve only been able to replicate this when using a slow connection, and it doesn’t appear to happen with redactor, so we’re thinking it could be an issue with the call order of the TinyMCE plugin within the Rich Text block. Would this be a Content Blocks issue, or more of an issue with MODX/TinyMCE?

Using latest version of CB and MODX.