Release 2.2.0
Upgraded block API to version 3 and improved style enqueuing for block editor iframes.
View full changelog
Added
- Added
UpgradeAirfleetBlockVersionfeature to dynamically upgrade the block API version to 3 for all Airfleet blocks - Added ACF toggle (
upgrade_block_api_version) and filter (airfleet/views/blocks/upgrade_api_version) to control Block API version 3 upgrade per-site
Changed
- Changed
EnqueueFactory::enqueue_editor()to always use inline styles for block editor iframe compatibility - Changed
EnqueueFactoryto route admin screen styles throughenqueue_block_assetswhen in the block editor, so*.admin.entry.scssview styles reach the iframe
Added (new files)
- Added
BlockEditorEnqueueStyleclass to enqueue styles viaenqueue_block_assetsfor block editor iframe support