Project

General

Profile

Actions

Bug #88480

open

RTEs should support nullable fields

Added by Alex Nostadt almost 5 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2019-06-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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


Files

image.png (9.21 KB) image.png Alex Nostadt, 2019-06-03 15:19

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #94158: Select type selectSingle fields (and likely other renderTypes too) do not support eval=nullNew2021-05-19

Actions
Actions #1

Updated by Simon Schaufelberger almost 3 years ago

  • Related to Bug #94158: Select type selectSingle fields (and likely other renderTypes too) do not support eval=null added
Actions

Also available in: Atom PDF