Don't use the "Validate" button?
The editor is not strictly a validator, because sometimes it autofixes some issues:
Take for example https://github.com/italia/publiccode-parser-go/blob/main/testdata/v0/invalid/file_encoding.yml, if you load it in the editor and "validate" it doesn't tell you it's invalid.
So maybe the button should always say "Generate"?
@bfabio I think that we adopted this solution from v1. Could you confirm that in v1 this button worked in this way?
@valeriocomo yes, I think so.
IIRC, the old version broke down when trying to load an invalid file, instead of trying to salvage it and give the user a chance to fix issue. So it maybe was more of a validator, but less useful.