Release 2.0.1
Fixed a Lottie javascript error when using InnerBlocks with custom classes.
View full changelog
Fixed
- Fixed: Lottie javascript error when using <InnerBlocks /> with custom classes.
Project releases
Fixed a Lottie javascript error when using InnerBlocks with custom classes.
Requires PHP 8.2 and the Airfleet Framework plugin as a dependency.
Requires Plugins metadata field)@airfleet/wordpress-dev to ^4.0.0airfleet/wordpress-dev to ^4.0.0Added forced preview support for background images in elements components.
elements-components-background-image: Added support for forced previews by using helper $_should_show_preview() (requires latest Elements - Core plugin)elements-components-background-image: Used filter airfleet/elements/exclude_non_editor_scripts to exclude non-editor scripts when force previews are enabledRenamed 'Background-Wrap' block title to 'Background Container'.
Updated components to add support for airfleet/elements/empty/$slug filter
airfleet/elements/empty/$slug filterAdded a Style select field to the elements-blocks-background-wrap and introduced a new filter for setting style variations.
elements-blocks-background-wrap: added Style select fieldairfleet/elements/background-wrap/style to set style variations for Background Wrap blockAdded new tabs to background elements and fixed hidden field labels in admin.
elements-blocks-background-wrap: added Content tabelements-background-image: added Content and Settings tabelements-background-image: hide image labelelements-background: fixed unintentionally hidding field labels in adminFixed protection against empty backgrounds in elements-components-background
elements-components-background: protect against empty backgroundFixed custom CSS class and custom other attributes not rendering in elements-components-background.
elements-components-background: fixed custom CSS class and custom other attributes not rendering (added merge_attrs)Removed additional PHP closing tag from background partial.
background partial.Added component for displaying default and custom backgrounds.
elements-components-background (display default background + option to display custom flexible background)$_background/@background() and $_background_start/@background_start() to use elements-components-background instead of elements-partials-backgroundLazy loading added for elements-background-image component
elements-background-imageFixed missing fields for elements-components-background-image
elements-components-background-imageRemoved two views and updated two others to use $_slot instead of $content.
elements-partials-background-startelements-partials-background-endelements-partials-background to use $_slot and remove $content propertyelements-components-background-image to use $_slot and remove $content propertyAdded background-related views and helpers for flexible component rendering.
elements-backgroundelements-components-background-image (display background image)elements-blocks-background-wrap (set background and add blocks inside)elements-partials-background-start (open rendering for background flexible)elements-partials-background-end (close rendering for background flexible)elements-partials-background (with $content property, calls start/end partials)$_background_start / Blade directive @background_start$_background_end / Blade directive @background_end$_background / Blade directive @background