Files
survey-bundle/contao/templates/backend/be_tinyMCE_survey.html.twig
T
Claude Fable 5 833a8964cf Add topic sections, ordered inserts, rich-text descriptions and grouped results (Ausbaustufe 3)
- section content type with structure service, reader context and grouped results/PDF/Excel
- new questions append at the end (backend oncreate) and per-section add buttons
- rich-text descriptions: Quill 2 (frontend), reduced TinyMCE (backend), server-side whitelist sanitizer
- externalize inline assets, bundle Chart.js locally, harden debug access, validate range bounds

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-22 07:57:40 +02:00

29 lines
690 B
Twig

{# Reduzierter TinyMCE für Umfrage-Beschreibungen: nur Absätze, Listen, fett, kursiv.
Dieselbe Whitelist wie der Frontend-Editor (Quill) und der serverseitige Sanitizer. #}
{% extends '@Contao/be_tinyMCE.html.twig' %}
{% block picker %}{% endblock %}
{% block plugins %}
plugins: 'autosave lists',
{% endblock %}
{% block valid_elements %}
valid_elements: 'p,br,ul,ol,li,strong/b,em/i',
forced_root_block: 'p',
{% endblock %}
{% block menubar %}
menubar: false,
{% endblock %}
{% block toolbar %}
toolbar: 'bold italic | bullist numlist | undo redo | removeformat',
{% endblock %}
{% block custom %}
statusbar: false,
paste_block_drop: true,
paste_as_text: false,
{% endblock %}