I have a project in which developers can make blade templates and upload to that CMS, and I want to give admin the ability to add custom css classes to html elements inside that template without touching it.
What I want to achieve is extending blade compiler and read the dom elements and loop through them all and add the custom css classes if set then compile it as normal blade file. how can I get this approach?
Thanks.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire