#109808 Backport f:render.text to TYPO3 v13
Description
Impact
==
Theme creators are encouraged to use the :html:`<f:render>` ViewHelper for<br>rendering text-based fields (plain and rich text), as it provides a standardized,<br>record-aware approach that can be built upon in future versions.</f:render>
Since the ViewHelper takes both the record and the field name as arguments, the
rendering process has access to the complete record context. This makes the
ViewHelper more flexible compared to directly accessing the field value.
Backport Reason
===========
This is a particularly useful backport candidate for TYPO3 13 because it provides
one predictable, standardized, TCA-aware rendering path for text fields at a point
where it can still influence a large number of productive installations.
That is especially relevant for the Visual Editor. If editor-facing functionality
is meant to work reliably across real-world projects, widely used templates and
extensions need to converge on one suitable rendering approach for text fields
before TYPO3 14 adoption becomes the baseline.
The same applies to commonly used extensions such as EXT:news and
bk2k/bootstrap-package, as well as site packages and custom integrations.
Making :html:`<f:render>` available in TYPO3 13 allows those projects to<br>adopt the same pattern earlier and helps establish a consistent rendering<br>foundation across the ecosystem.</f:render>
The backport also improves template consistency by centralizing escaping and
formatting decisions in one canonical implementation that follows TCA
configuration, instead of leaving those decisions to individual templates.
Missing fields also fail explicitly by default, while :html:`optional=“true”`
provides an intentional opt-in for nullable behavior in shared templates.
At the same time, the risk is low because the feature is opt-in. Existing
templates do not change behavior unless integrators or extension authors choose
to adopt the new ViewHelper. Together with its focused scope, this makes the
feature a pragmatic and safe backport for TYPO3 13.