You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the plugin enqueues block and global block styles in the footer, this is causing some large Cumulative Layout Shift (CLS) issues across our sites. It also makes it difficult/confusing to override styles for individual blocks via the className property.
The fix should just involve moving the enqueue styles code out of the render callback and some logic to add the relevant args to the register_block_type() function call.
The text was updated successfully, but these errors were encountered:
I appreciate WP Engine have stated they're not accepting enhancements/features to this plugin and that this can be achieved via hooks, however I thought I'd check if a PR would be considered before we commit developer time to this in October.🚀
Currently the plugin enqueues block and global block styles in the footer, this is causing some large Cumulative Layout Shift (CLS) issues across our sites. It also makes it difficult/confusing to override styles for individual blocks via the
className
property.The fix should just involve moving the enqueue styles code out of the render callback and some logic to add the relevant args to the
register_block_type()
function call.The text was updated successfully, but these errors were encountered: