Issue Bug Closed

#88480RTEs should support nullable fields

Alex Nostadt 06/03/19, 15:25 updated 02/07/26, 08:04

Description

Hi guys,

with T3 7 LTS and rtehtmlarea I have used the nullable feature among others for RTE fields. Now, once upgraded to 8 LTS I noticed the lack of this feature for RTEs. When disabling the RTE feature the checkbox is shown again.

Chris Wolff suggested it may be that this feature has been removed from several locations as editors could not handle it properly. Not said it’s the actual cause. However, in any case I consider it as a bug and if it’s not a bug to re-add it t CKEditor.
Starting point at Slack: https://typo3.slack.com/archives/C07UX061G/p1558711711001600

See attachment “image.png” for how it looked in T3 7 LTS.

For what it’s worth, here is my TCA config for the RTE field:

<?php
    $field['config'] => [
                'type' => 'text',
                'cols' => 40,
                'rows' => 15,
                'eval' => 'null,trim',
                'default' => null,
                'enableRichtext' => true,
            ];

Looking forward to hear from you.

Best regards

Alex

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Files 1

History 5

  1. Benni Mack commented and changed status New Needs Feedback <span data-processor="relativetime" data-value="2026-01-23T10:54:29+00:00" > 01/23/26, 10:54 </span>

    AFAICS this issue is fixed with #106636 – commit 50e62a55175.

    Can you check if this problem still occurs in v13+ ?

  2. Georg Ringer commented and changed status Needs Feedback Closed <span data-processor="relativetime" data-value="2026-02-07T08:04:52+00:00" > 02/07/26, 08:04 </span>

    while it is not possible anymore to have a checkbox to toggle the RTE and have default by default, it is now possible to define the field nullable and if there is a type without the rte field, it will be set to null.

    so you could use a custom type without the text field or as alternative set it to null in a datahandler hook if it is empty

    therefore closing the issue