๐ ๏ธ Proposal: A Custom Widget Editor for Elementor (HTML/CSS/JS, Built-In)
Have you ever wanted to build your own widget in Elementor using just HTML, CSS, and JavaScript โ without creating a WordPress plugin?
โ The Problem
Currently, building a custom widget in Elementor requires writing PHP, registering it with WordPress, and deploying it via plugin. For many frontend developers, this creates a barrier.
Elementor is a powerful visual builder, but when it comes to adding custom functionality (like animations, dynamic components, or third-party APIs), you're limited to embedding code in HTML widgets โ and even then, it's clunky and lacks structure.
๐ก The Idea
What if Elementor had a built-in Custom Widget Editor?
Features:
- Code editor tabs for HTML, CSS, and JavaScript
- Live preview inside the panel
- Save & reuse custom widgets across projects
- Export to plugin or Elementor template
- Syntax highlighting and basic linting
Aimed at power users, it would bring the experience of CodePen or JSFiddle directly into the Elementor UI.
๐ผ๏ธ Mockup
Hereโs a quick visual mockup of how it could look:
๐ง GitHub Discussion
Iโve shared this idea in the official Elementor GitHub Discussions:
๐ Read or join the conversation here
๐ Let's Make It Happen
If you're a developer, designer, or part of the Elementor team and this idea resonates with you โ I'd love to hear your thoughts.
Thanks for reading, and happy building!
`
Top comments (0)