Placeholder for setting in editor #5946
-
Reading the sulu docs but can't find anything about my issue. I like to use placeholders for page independent settings inside the editor. In editor the text is: In output will be replaced with snippet, example result: Or should I just build my own twig filter for this? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey, Sulu does not provide any built-in functionality for this as far as I know. At the moment, I would recommend to implement a Twig extension/filter in your project and document the supported placeholders using a |
Beta Was this translation helpful? Give feedback.
Hey,
thanks for reaching out!
Sulu does not provide any built-in functionality for this as far as I know. At the moment, I would recommend to implement a Twig extension/filter in your project and document the supported placeholders using a
info_text
in your template.