Issue Bug Closed

#109742Allow limited markup in form inspector labels and descriptions

wini2 no-lastname-given 05/02/26, 14:10 updated 08/11/26, 08:46

Description

<f:format><span data-template-property="label"></span> in Resources/Private/Backend/Partials/FormEditor/Inspector/TextEditor.html has no effect anymore.</f:format>

In v13 I use e.g.
Checkbox:
…
formEditor:
editors:
110:
identifier: customCheckboxHeaderText
templateName: Inspector-TextEditor
label: ‘Header-Text,
some label-text
more label-text‘
fieldExplanationText: ‘… Text with more hints’
propertyPath: renderingOptions.customCheckboxHeaderText

to give editors better and easier to read hints for the use of form-elements in the editor.

To make
or work in v13, I added <f:format> to <span data-template-property="label"></span> in TextEditor.html. In v14 format.raw is not respected anymore – the label-text shows up Header-Text, <br> some label-text<br> <span class="hinweis-p">more label-text</span> in the be form-editor.</f:format>

Btw: for fieldExplanationText format.raw it’s also not possible to use something like <f:format><div class="form-description" data-template-property="description"> (same for v13 and v14).</div></f:format>

Reviews 2