Bug with custom Elementor widget and Block themes
-
Hi!
I’m developing a custom widget for Elementor and ran into this bug – on normal clean themes (TwentyTwenty One, etc.) the ElementorModules object has a frontend object, but on block themes (TwentyTwent Two, Three) it disappears, which causes an error and my widget script does not work.
The error is Cannot read properties of undefined (reading ‘tools’) in the frontent.min.js file in the line StretchElement: elementorModules.frontend.tools.StretchElement.
If I delete this line directly in this file, everything works fine.
Please help me, how can I get around this?
https://ibb.co/pJ3TV4s
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Bug with custom Elementor widget and Block themes’ is closed to new replies.