airfleet/airfleet-nexus-plugin
Release 0.18.1
Fixed
support-responsive: Refactored to hybrid JS/PHP architecture usingrender_blockfilter instead of JavaScript-only save injection. This eliminates block validation errors when the plugin is disabled or updated, and adds support for dynamic blocks (previously unsupported). CSS classes are now generated at render time instead of being saved to the database, keeping block HTML pristine.support-responsive: Standardized React Inspector Control architecture to enforce strict Hook rules. Extracted hooks into a namedEnhancedBlockEditcomponent, ensuringuseCallback,useRef, anduseMemoexecute unconditionally prior to guard return clauses.support-hide-block: Refactored attribute injection JS by removing deprecatedgetEditWrapperPropshandler (which fails on modern<BlockListBlock>components) and replacing it with aneditor.BlockListBlockHigher-Order Component.support-hide-block: Added server-side attribute registration forafnmSupportHideBlockvia newRegisterAttributeServerSideclass to ensure REST API accepts the attribute duringServerSideRenderrequests without validation errors. The attribute was previously injected only client-side, causing "Invalid parameter(s)" errors in the editor.