Review main Merged

92746[TASK] Merge `f:render.richText` into `f:render.text`

Matthias Vogel CR +2 V +2 Hard +214 −413 updated 02/10/26, 17:41

Commit message

In #108868, two new ViewHelpers were introduced that could be used
to render text fields from record objects. With this patch, the
previous implementation is simplified by merging the two ViewHelpers
into one `<f:render.text>` ViewHelper. The new ViewHelper inspects
the underlying TCA schema of the record and chooses the appropriate
processing of the field's value in the frontend. Currently, plain text,
multi-line plain text and rich text are supported.

The `<f:render.richText>` ViewHelper is obsolete and is removed in
favor of the enhanced `<f:render.text>` ViewHelper. All usages and
the documentation reflect this simplification.

This makes it easier to use the `<f:render.text>` ViewHelper
as theme creators no longer have to decide which one to use
for a given use case.

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
    • Simon Praetorius +1
  • Verified V +2 Done
    • Oli Bartsch +2
    • Simon Praetorius +1
    • core-ci +1 CI

Issues 2

Files 12

Review log 1115

  1. Matthias Vogel uploaded patch set 1 02/09/26, 07:21

  2. core-ci voted on patch set 1 V -1 02/09/26, 07:29 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95438

  3. Matthias Vogel uploaded patch set 2 V -1 02/09/26, 07:40

  4. core-ci voted on patch set 2 V +1 02/09/26, 07:50 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95440

  5. Matthias Vogel marked it ready for review 02/09/26, 08:03

  6. Matthias Vogel uploaded patch set 3 V +1 02/09/26, 09:26

  7. core-ci voted on patch set 3 V +1 02/09/26, 09:36 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95451

  8. Garvin Hicking commented on patch set 3 02/10/26, 14:58

    TextViewHelper.php:101 Unresolved

    What btw happens with RTE processing configurations here? We might want to access the HTML renderer at some point, or is there a concept for this yet?
  9. Oli Bartsch commented on patch set 3 CR +1 V +1 02/10/26, 16:48

    I really like the RST improvement. It is much clearer now.
  10. Simon Praetorius commented on patch set 3 CR -1 02/10/26, 17:16

    on it
  11. Simon Praetorius uploaded patch set 4 CR +1 V +1 02/10/26, 17:30

  12. Simon Praetorius voted on patch set 4 CR +1 V +1 02/10/26, 17:34

  13. core-ci voted on patch set 4 V +1 02/10/26, 17:40 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95566

  14. Oli Bartsch voted on patch set 4 CR +2 V +2 02/10/26, 17:41

  15. Oli Bartsch merged patch set 5 02/10/26, 17:41