#104479Add possibility to customize pre-selected target values/options in LinkBrowser
Description
It would be a great addition to the usability of TYPO3 CMS’ LinkHandler, when the pre-selected target values/options can be customized.
Currently it’s only possible to select from the values/options “Top“
Currently it’s only possible to select from the values/options “Top“
[_top] and “New Window“[_blank], which are hard-coded in the following classes/methods:
\TYPO3\CMS\Backend\Controller\AbstractLinkBrowserController::getLinkAttributeFieldDefinitions()
https://github.com/TYPO3/typo3/blob/main/typo3/sysext/backend/Classes/Controller/AbstractLinkBrowserController.php#L450-L451\TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::getTargetField()
https://github.com/TYPO3/typo3/blob/main/typo3/sysext/rte_ckeditor/Classes/Controller/BrowseLinksController.php#L382-L383
clipboard-202407251515-okn5b.png
Here are some user stories that’ll describe several use-cases:
- As a backend user , I want to select customized pre-selected target values/options in the LinkBrowser.
- As a TYPO3 CMS Integrator , I want to configure the pre-selected target values/options of the LinkBrowser via TsConfig.
- As a TYPO3 CMS Developer , I want to manipulate the pre-selected target values/options of the LinkBrowser via a PSR-14 Event.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.