[BUGFIX] Correctly resolve RTE preset configuration for link browser 81/56881/7
authorTymoteusz Motylewski <t.motylewski@gmail.com>
Tue, 29 May 2018 22:40:49 +0000 (00:40 +0200)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Fri, 1 Jun 2018 09:23:54 +0000 (11:23 +0200)
commitd18e495b28d5c808cd6d13dad78613b08da7f2ef
tree5c02ec1fd3855879ef81cb6645439b14f4089401
parenta62a4c74756bf38af88650313fc03f5957b5274e
[BUGFIX] Correctly resolve RTE preset configuration for link browser

Replaces hardcoded RTE configuration in BrowseLinksController
with one resolved by Formengine when rendering a field.
This takes into account e.g. column overrides.

The RTE configuration preset name is now kept by Formengine in
['processedTca']['columns'][$fieldName]['config']['richtextConfigurationName']

Then it's being passed as parameter P[richtextConfigurationName] from RTE field
to the BrowseinksController

Resolves: #84943
Releases: master, 8.7
Change-Id: Id4f1c350f6eb6dfad4d49ec759a23939bbc45eda
Reviewed-on: https://review.typo3.org/56881
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Jan Stockfisch <jan.stockfisch@googlemail.com>
Tested-by: Jan Stockfisch <jan.stockfisch@googlemail.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaText.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaTextTest.php
typo3/sysext/rte_ckeditor/Classes/Controller/BrowseLinksController.php
typo3/sysext/rte_ckeditor/Classes/Form/Element/RichTextElement.php