[BUGFIX] Respect richtextConfiguration set via TCA
If richtextConfiguration is set via TCA for a specific text field (e.g. for custom elements or within TCA-overrides), respect the richtextConfiguration and prefer it over the general RTE.default.preset Removed 'richtextConfiguration' => 'default' from tt_content, since it is obsolete and breaks the logic of fallback. New fallback order: 1. preset defined for a specific field via PageTS 2. richtextConfiguration defined for a specific field via TCA 3. general preset defined via PageTS 4. default Resolves: #88655 Releases: master Change-Id: I54271732ba862be4c05ccf62352ee685d72fb985 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61193 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Susanne Moog <look@susi.dev> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/core/Classes/Configuration/Richtext.php 12 additions, 2 deletionstypo3/sysext/core/Classes/Configuration/Richtext.php
- typo3/sysext/core/Configuration/TCA/sys_news.php 0 additions, 1 deletiontypo3/sysext/core/Configuration/TCA/sys_news.php
- typo3/sysext/core/Documentation/Changelog/master/Important-88655-ChangedLoadingOrderOfRTEConfiguration.rst 39 additions, 0 deletions...Important-88655-ChangedLoadingOrderOfRTEConfiguration.rst
- typo3/sysext/core/Tests/Unit/Configuration/RichtextTest.php 329 additions, 1 deletiontypo3/sysext/core/Tests/Unit/Configuration/RichtextTest.php
- typo3/sysext/frontend/Configuration/TCA/tt_content.php 0 additions, 3 deletionstypo3/sysext/frontend/Configuration/TCA/tt_content.php
Please register or sign in to comment