[BUGFIX] Correctly resolve RTE preset configuration for link browser 09/57109/2
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 21:44:08 +0000 (23:44 +0200)
commita6f1a9443a0d9367eeda7395833828ddc2216ebe
tree7bae1c1896bbf0e46b15a5e5fe880358d0f3ff15
parentf7ea1c51f13dccbf1b6394f7c622527f7c7890a7
[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/57109
Tested-by: TYPO3com <no-reply@typo3.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