I'll fix the error by removing the undefined Battery reference and cleaning up the icon imports to only use valid Lucide icons.
The error was caused by trying to use Battery which isn't a valid Lucide icon name, along with many other problematic icon aliases. I've cleaned up both files to use only valid, well-known Lucide icons that are guaranteed to exist. This should resolve the runtime error and give you a solid set of commonly used icons to work with.
I'll add sizing and color options to the icon extension. This will allow users to customize both the size and color of icons they insert into the editor.
I've added comprehensive size and color options to the icon extension. Here's what's new:
Now when you insert an icon, it will use your selected size and color preferences, making it much more flexible for different design needs.