Bug #102749
closedrichtextConfiguration='default' is not overriden by RTE.default.preset = my_custom_rte
0%
Description
For example when the following is set:
$GLOBALS['TCA']['tt_content']['columns']['bodytext']['config']['richtextConfiguration']='default';
The tsconfig
RTE.default.preset = my_custom_rte
Takes no effect but you have to override it using
RTE.config.tt_content.bodytext.preset = my_custom_rte
As RTE.default.preset is supposed to override the default preset, I would expect the first tsconfig statement to work.
Updated by Oliver Bartsch 11 months ago
- Status changed from New to Needs Feedback
To my understanding this is the correct behaviour according to the docs https://docs.typo3.org/c/typo3/cms-rte-ckeditor/main/en-us/Configuration/Examples.html.
RTE.default.preset
"just" defines the default preset, in case non is set via TCA or TSconfig for a specific field. As soon as you define a specific preset for a field in TCA, it has to be overridden using the corresponding field specific TSconfig syntax.
Best, Oli
Updated by Oliver Bartsch 11 months ago
Sure you can. But as soon as you specify a preset on a per column basis in TCA, this has to be overriden via the specific field TSconfig (which can also be done on a per site basis as it's page TSconfig).
Updated by Georg Ringer 5 months ago
- Status changed from Needs Feedback to Closed
I am closing this issue as it the solution by Oli seems to be fine. @Lina feel free to contact me on slack if you need further help!