v1.2.8 - Fix ACSS styles in Etch builder
Fix: AutomaticCSS styles not rendering in Etch builder
This release fixes a compatibility issue where AutomaticCSS (ACSS) styles were not applied inside the Etch page builder's canvas iframe when MWE EtchWP Enhancements was active.
Changes
- Fixed: ACSS styles not rendering in Etch builder canvas when plugin was active
- Fixed: Focus point editor assets no longer injected into Etch canvas iframe (only loads on outer builder page where they belong)
- Improved: Focus point editor JS now exits early if running inside an iframe (defense-in-depth)
- Improved: Config polling now times out after 10 seconds instead of polling indefinitely
Root Cause
The Focus Editor UI was hooking into etch/canvas/enqueue_assets to enqueue its JS/CSS into the canvas iframe. This was unnecessary (the UI only runs on the outer builder page) and interfered with Etch's asset collection mechanism for third-party stylesheets like ACSS.
Upgrade
Update recommended for all users running ACSS (or other third-party CSS frameworks) with Etch.