feat(fullstack): Replace TITLE_BODY element with rich text editor

This commit is contained in:
2025-12-21 17:59:53 +01:00
parent 54570fae4f
commit 374c8d8905
11 changed files with 1838 additions and 1054 deletions

View File

@@ -173,12 +173,9 @@
<p th:if="${elem.options.isEmpty() || elem.options.?[!value.isEmpty()].isEmpty()}">Kein Datum ausgewählt</p>
</div>
<div th:case="'TITLE_BODY_TEXTFIELDS'">
<div th:case="'RICH_TEXT'">
<div th:each="option : ${elem.options}">
<div th:if="${!option.value.isEmpty()}" th:with="parts=${#strings.arraySplit(option.value, '|||')}">
<strong th:text="${parts.length > 0 ? parts[0] : ''}"></strong>
<p th:text="${parts.length > 1 ? parts[1] : ''}"></p>
</div>
<div th:if="${!option.value.isEmpty()}" th:utext="${option.value}"></div>
</div>
<p th:if="${elem.options.isEmpty() || elem.options.?[!value.isEmpty()].isEmpty()}">Keine Eingabe</p>
</div>