Project

General

Profile

Feature #104479

Updated by Moritz Ngo 2 days ago

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"<code>[_top]</code> and "New Window"<code>[_blank]</code>, which are hard-coded in the following classes/methods: 
 * <code>\TYPO3\CMS\Backend\Controller\AbstractLinkBrowserController::getLinkAttributeFieldDefinitions()</code> 
   https://github.com/TYPO3/typo3/blob/main/typo3/sysext/backend/Classes/Controller/AbstractLinkBrowserController.php#L450-L451 
 * <code>\TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::getTargetField()</code> 
   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. 

Back