Open LC43 opened 5 years ago
I can see how this might be helpful.
The only suggestion I have to use some escaping around the class name, so that we have a bit of protection against broken markup or xss. Changing this from {{{data.class}}}
to {{ data.class }}
would use underscore's escaping and prevent quotes passed in this parameter from breaking the output markup. If you make that change, I'd be 👍for merging it.
hi @goldenapples , thanks for the suggestion!
I've changed the PR accordingly.
this will allow devs to assign classes to specific elements in the admin edit screens.
then just