Twig node or text nodes in doc ? #6127
Unanswered
jeanmatthieud
asked this question in
Questions & Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I use TipTap to allow some non-tech customers to update basic email templates.
Those templates uses Twig as template engine.
My problem is that I want to add some Twig if / else statement outside any paragraph.
For example:
When I'm using TipTap, the HTML is transformed, adding a lot of paragraphs:
Is it possible to have plain text inside the root node?
Or add an extension to consider {% xxx %} elements as nodes (and not add HTML tags)?
I tried a looooot of stuff, without success...
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions