rte_ckeditor link browser classes and their titleText and target
In rte_ckeditor it is possible to configure the classes the link browser offers to select:
buttons: link: properties: class: allowedClasses: - external-link - external-link-new-window url: properties: class: default: "external-link" classesAnchor: externalLink: class: "external-link" type: "url" titleText: "LLL:EXT:sitepackage/Resources/Private/Language/locallang.xlf:rte.external_link_titleText" externalLinkInNewWindow: class: "external-link-new-window" type: "url" target: "_blank" titleText: "LLL:EXT:sitepackage/Resources/Private/Language/locallang.xlf:rte.external_link_new_window_titleText"
There are some problems with the link browser right now:
- The wrong title text is set during load
- The title text don't change during changing the tabs
- The target don't change to the configured one
- After some changes, it don't change the title text anymore
See the video for more details.
#2 Updated by Markus Dübbert 3 days ago
i can confirm this behaviour.
i want to set the default targets for 'page' and 'url':
my ckeditor yaml configuration:
buttons: link: page: properties: target: default: '_self' url: properties: target: default: '_blank'
When i select a link and open the link wizard, i have inconsistent behaviour when clicking the page type tabs, see attached screen.
1. i click page, the target is set to _self (this is ok)
2. i click external url, the target ist set to _self (this is wrong)
3. i click mail, the target is left blank (this is ok)
3. i click external url, the target ist set to _blank (this is ok)
the same behaviour in TYPO3 8 and 9