Hello,
After updating to WordPress 7.1.2, I encountered a severe UI bug in the Block Editor caused by how Toolset handles script and stylesheet enqueueing. This was an old bug fixed already and now coming back.
In WP 7.1.2, the Block Editor enforces strict iframe isolation. Because Toolset registers and enqueues several global assets (such as codemirror-css, toolset_blocks-block-editor-css-css, and register_view_editor_css-css) using legacy API methods (v1/v2), WordPress logs multiple console errors/warnings:
...was added to the iframe incorrectly. Please use block.json or enqueue_block_assets to add styles to the iframe.
This asset injection conflict breaks the DOM rendering context of the Gutenberg editor. Consequently, whenever I click to open the native WordPress Media Library (wp.media) from block Inspector Controls (e.g. setting a background image in a Container, Grid, or third-party block), the .media-modal element fails to render as a full-screen overlay. Instead, it gets injected crushed directly inside the right-hand Inspector Sidebar, rendering the editor unusable.
You can reproduce this:
- Update site to WordPress 7.1.2 with Toolset active.
- Open any page/post containing Toolset blocks or CRED forms in the Block Editor.
- Select a container and try to select/upload a background image.
- the Media Modal will break and rendered squeezed inside the sidebar (see screenshot)
It looks like an incompatibility between Toolset and WordPress 7.1.2 iframe standards and Block API v3.
Please check, thanks
Regards
Nicola
*** Please make a FULL BACKUP of your database and website.***
Can you please update ALL Toolset plugins to latest version.
How to update:
- In your WordPress admin, go to Plugins and open the Commercial tab.
- Click Check for updates and update all Toolset plugins.
Alternatively, log into your Toolset Account page, click Downloads in the left sidebar and then click Download Toolset manually. Finally, download the plugins you need, and manually upload them to your site.
Do you see the same issue afrer yuo update ALL Toolset plugins to the latest version?