Actions
Feature #104479
openAdd possibility to customize pre-selected target values/options in LinkBrowser
Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2024-07-25
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
LinkBrowser
Complexity:
easy
Sprint Focus:
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
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.
Files
Actions