You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if is the right place to put that question. I apologize if it is the case.
We use mako templates, but we are affraid of users to beak python code in the template, so we edit all the changes in the template (even typos).
So, are there some WYSIWYG web editors (like CKEditor) that supports mako template language, to block edition of mako tags <% %> and allow to modify all other html text?
Thanks,
The text was updated successfully, but these errors were encountered:
I'm not familiar with a tool like that. Truth be told this seems like you would do better with jinja templates instead, which have very limited logic within them. Mako as you might have noticed is pretty niche at this point :)
I suggest using Dust. It's originally a javascript templating library, but is implemented in Python via Ashes for serverside rendering. I have a few projects where user-generated dust templates are rendered in Ashes and the output is placed into Mako templates. I believe some WYSIWYG editors supported it, and others had hooks to support it.
I don't know if is the right place to put that question. I apologize if it is the case.
We use mako templates, but we are affraid of users to beak python code in the template, so we edit all the changes in the template (even typos).
So, are there some WYSIWYG web editors (like CKEditor) that supports mako template language, to block edition of mako tags <% %> and allow to modify all other html text?
Thanks,
The text was updated successfully, but these errors were encountered: