Project

General

Profile

Actions

Bug #84943

closed

RTE Link Browser allways loads RTE config with key "default"

Added by Jan Stockfisch almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
Start date:
2018-05-07
Due date:
% Done:

100%

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

Description

TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController uses ['richtext' => true] as it's entire tca field config. With this field config the default RTE config is always been loaded. Custom configuration, like defalt CSS classes, can only be achieved by overriding $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'].

For testing purposes I just build a small extension, which will override the richtext configuration via 'columnsOverrides' for the CType 'text'. Notice that this will have no effect if you have a PageTS config which sets RTE.default.preset (just like EXT:bootstrap_package does).
Here is the link: https://github.com/KamiYang/foobaa

Actions

Also available in: Atom PDF