HTML/JS beautifier (indent code, etc.)

Implement HTML/JS beautify command on Wappler’s code editor

Have you maybe missed the option in the settings?

Screenshot 2022-06-09 at 12.14.02

Hm… I didn’t know about it, but it seems it’s toggled and doesn’t do anything :thinking:

I’m doing stuff inside a <script> tag

What page are you working on - ejs/html/php/asp?

index.html on Capacitor project

Maybe there’s something with monaco editor not formatting the code inside script tags, @patrick?

Another option: I prefer not to use this setting (on save) but to apply formatting when I choose, using shortcut keys: Shift+Alt+F. Either way, I don't think formatting within <script> tags has ever worked.