From 7998cdcd714972f0be14b2377ddb03b1729af0aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 15 Feb 2026 14:24:31 +0100 Subject: [PATCH] Added hint about HTML block to twig label documentation --- docs/usage/labels.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/usage/labels.md b/docs/usage/labels.md index 6896ccb7..c804cebb 100644 --- a/docs/usage/labels.md +++ b/docs/usage/labels.md @@ -94,6 +94,8 @@ the label content and you can access almost all data Part-DB offers. The label t where only certain operations are allowed. Only read access to entities is allowed. However, as it circumvents Part-DB normal permission system, the twig mode is only available to users with the "Twig mode" permission. +It is useful to use the HTML embed feature of the editor, to have a block where you can write the twig code without worrying about the WYSIWYG editor messing with your code. + The following variables are in injected into Twig and can be accessed using `{% raw %}{{ variable }}{% endraw %}` ( or `{% raw %}{{ variable.property }}{% endraw %}`):