Bug #84943
closedRTE Link Browser allways loads RTE config with key "default"
100%
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
Updated by Gerrit Code Review over 6 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56881
Updated by Gerrit Code Review over 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56881
Updated by Gerrit Code Review over 6 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56881
Updated by Gerrit Code Review over 6 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56881
Updated by Gerrit Code Review over 6 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56881
Updated by Gerrit Code Review over 6 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56881
Updated by Tymoteusz Motylewski over 6 years ago
Notes on testing:
- with test extension installed and patch applied
- open TEXT content element
- go to the RTE bodytext field
- select some text
- click chain icon, to open link browser
- in the link browser you should see a "class" select box with one option.
Updated by Gerrit Code Review over 6 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57109
Updated by Tymoteusz Motylewski over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d18e495b28d5c808cd6d13dad78613b08da7f2ef.