View full changelog
Fixed
elements-components-color: fixed Preset color select field appearance in the editor
airfleet_view_start, airfleet_view_end, airfleet_view_to_string, and airfleet_views_to_string. It also set an id attribute for blocks based on the anchor value in the block editor. debounce, useInViewport, and editorBlockRender. elements-components-color: fixed Preset color select field appearance in the editorFour new API functions were added for rendering views: airfleet_view_start, airfleet_view_end, airfleet_view_to_string, and airfleet_views_to_string.
airfleet_view_start: Starts an instance to initiate a render for a viewairfleet_view_end: Ends the view render instance started by airfleet_view_startairfleet_view_to_string: Renders a single view into an HTML string and returns the resultairfleet_views_to_string: Renders one or more views into an HTML string and returns the resultAdded option to set image loading to eager in elements-components-image
elements-components-image: added an option to set the loading to either lazy (default) or eagerBlocks now have an id attribute set by the anchor value in the block editor
id attribute is now set for blocks based on the value of the anchor that the user sets in the block editorUpdated VS code snippet for Airfleet Block Meta with anchor support
debounce utility function /assets/frontend/scripts/utils/debounce.jsuseInViewport utility function /assets/frontend/scripts/utils/useInViewport.jseditor/scripts/utils directorieseditor.entry.js fileeditorBlockRender utility function /assets/editor/scripts/utils/editorBlockRender.jsAdded onChange JavaScript utility for triggering callbacks on breakpoint changes
onChange JS util. Triggers a callback whenever a matched breakpoint changes