Upon save, TemplateStyles will say something like Invalid or unsupported value for property foo at line 12 character 34. This is not super convenient because
- it only happens on save, not preview (or real-time as the normal CSS linting for CodeEditor, although I guess that would be too expensive)
- the user has to manually locate the position
- which is made more confusing by the fact that CodeEditor uses 0-based line positions and css-sanitizer uses 1-based ones.
There should be a way to trigger the errors without saving (so that the user does not have to bother with edit summary etc. before checking whether the edit is valid) and the errors should ideally appear as CodeEditor annotations, but if not, they should at least have some button to bring the cursor to the position of the error.