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.