Description:
When adding an input style in Global Styles > Elements > HTML, as soon as you specify a font family, a fatal error occurs and the entire interface in no longer usable.
This is the error:
ReferenceError: lg is not defined
at Ua (https://projectanx.com/wp-content/plugins/cwicly/build/index.js?ver=1.2.9.9.4:3:135657)
at wt (https://projectanx.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:47637)
at js (https://projectanx.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:120584)
at wl (https://projectanx.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88659)
at bl (https://projectanx.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88587)
at yl (https://projectanx.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88450)
at il (https://projectanx.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:85274)
at fl (https://projectanx.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:85661)
at Nn (https://projectanx.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:32474)
at https://projectanx.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:83226
Step-by-step reproduction instructions:
- Open the Post Editor/Site Editor
- Open Global Styles > Elements > HTML > Input
- Create a new input style and set the type to any input type
- Specify any font family (Google or Local) in the typography settings
- Notice the error
Screenshots, screen recording, code snippet
Environment info
- WordPress version: 6.3
- Cwicly Plugin version: 1.2.9.9.4