#88480RTEs should support nullable fields
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.
Related issues 2
Files 1
History 5
-
Simon Schaufelberger changed Related to #94158 <span data-processor="relativetime" data-value="2021-06-24T08:30:41+00:00" > 06/24/21, 08:30 </span>
-
Simon Schaufelberger commented <span data-processor="relativetime" data-value="2021-06-24T10:35:32+00:00" > 06/24/21, 10:35 </span>
-
Benni Mack commented and changed status
NewNeeds 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+ ?
-
Georg Ringer changed Related to #106636 <span data-processor="relativetime" data-value="2026-02-07T07:58:47+00:00" > 02/07/26, 07:58 </span>
-
Georg Ringer commented and changed status
Needs FeedbackClosed <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
This commit dropped the nullable feature: https://github.com/TYPO3/TYPO3.CMS/commit/84be5e616b5373ac7ba57edf2d3cd61251dc6f97#diff-bd96db30f03f9ad888cc42f001e1cc3183de6457df03f96328efa826a9c4ac21