Hi Diego!
On Tue, Mar 10, 2020 at 9:28 AM Diego Quintana <hello(a)diegoquintana.com>
wrote:
So my question is, could you change my CSS page’s
content model to
sanitized-css, or is there a way to create a new .css page and have it be
sanitized-css from its creation.
The content model is usually determined by the namespace when the page is
created, and stays the same after that (administrators can change it, as
you say). So you can create the page in the Template namespace with a .css
extension, which will make it a sanitized-css page, and then move it
elsewhere.
In my opinion it's better to keep such pages in the template namespace
though. User CSS subpages in particular are not ideal because they are
protected from editing by anyone other than the owner, making it difficult
to collaborate on them.