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 #1

Updated by Gerrit Code Review almost 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

Actions #2

Updated by Jan Stockfisch almost 6 years ago

  • Description updated (diff)
Actions #3

Updated by Gerrit Code Review over 5 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

Actions #4

Updated by Gerrit Code Review over 5 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

Actions #5

Updated by Gerrit Code Review over 5 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

Actions #6

Updated by Gerrit Code Review over 5 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

Actions #7

Updated by Gerrit Code Review over 5 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

Actions #8

Updated by Tymoteusz Motylewski over 5 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.

Actions #9

Updated by Gerrit Code Review over 5 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

Actions #10

Updated by Tymoteusz Motylewski over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #11

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF