Project

General

Profile

Actions

Bug #97993

closed

RTE.default.preset not applied on bodytext field of custom content elements

Added by André Buchmann almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-07-21
Due date:
% Done:

0%

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

Description

RTE.default.preset = foo_default

While Upgrading from TYPO3 9 to 11 we noticed, that the custom RTE configuration is no longer applied to our custom content elements. The default textmedia element uses the custom RTE configuration as expected.
All described content elements use the same tt_content.bodytext field. The custom content elements are loading the default ext:rte_ckeditor config ($GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:rte_ckeditor/Configuration/RTE/Default.yaml';).

Adding RTE.config.tt_content.bodytext.preset = foo_default applies the custom RTE config for the custom content elements. But til TYPO3 10 it was enough to define only the RTE.default.preset.

We followed the docs to create the RTE configuration. And the config itself is not the problem.

Actions #1

Updated by André Buchmann almost 2 years ago

Found the issue. The richtextConfiguration was set to default. Seems like this wasn't applied in TYPO3 9, but is now. So it's not a bug now, but was back in TYPO3 9 era. -> Ticket can be closed.

'columnsOverrides' => [
        'bodytext' => [
            'config' => [
                'enableRichtext' => 1,
                'richtextConfiguration' => 'default'
            ]
        ]
    ],
Actions #2

Updated by Stefan Bürk almost 2 years ago

  • Status changed from New to Closed

closed per request from opener

Actions

Also available in: Atom PDF