Completely removed the redundant "Global Custom CSS" backend UI from BaseStylesForm.php. Global styling is now exclusively handled via the frontend CSS editor, ensuring a single source of truth and preventing conflicts.
Frontend Optimization:
Removed unused global style mounting logic (ui-builder-global-style-mount) and isGlobalMode properties from the React application, reducing bundle size and complexity.
This release primarily focuses on significant improvements, bug fixes, and new features for the Number Counter component to make it much more robust and easier to use.
Selector Tree Scrollability: Implemented proper horizontal scrolling for the selector tree. Deeply nested selectors and long class names will no longer be truncated or clipped by the sidebar container.
What's New Font Management Integration: You can now easily manage fonts globally directly from the Base Styles configuration!
Google Fonts Support: Paste your Google Fonts <style> or <link> snippet, and the module will automatically download the .woff2 files locally for better performance and privacy compliance (GDPR).
Fixed Blank Popup Issue: Removed document.write in the React frontend (FrontendStyler.jsx) and replaced it with an asynchronous setTimeout. This fixes a critical bug where opening the UI Builder style editor would occasionally wipe out the browser document and result in a blank white screen.
🐛 Bug Fixes Custom Style Creation Fix: Resolved a critical bug preventing users from saving new Custom Styles on the custom style page. Previously, the browser's HTML5 form validation would block the form submission because the hidden "Machine Name" (edit-id) field was unable to receive focus.