#83138rte_ckeditor: Exception, if title-readOnly = true and no titleText is set
Description
Hello together,
the following, own defined RTE-yaml:
buttons:
link:
page:
properties:
title:
readOnly: true
classesAnchor:
internalLink:
# No "titleText" is set
class: 'internalLink'
type: 'page'
(No “titleText” is set in classesAnchor.internalLink).
This leads to an exception:
htmlspecialchars() expects parameter 1 to be string, null given TypeError thrown in file /home/pbenke/Dokumente/Websites/www.allplan87.com/vendor/typo3/cms/typo3/sysext/rte_ckeditor/Classes/Controller/BrowseLinksController.php in line 472.
The same error, if I set titleText: ‘’
It only works, if titleText is set and not empty:
classesAnchor:
internalLink:
titleText: 'This is my default title'
class: 'internalLink'
type: 'page'
BTW:
It would be nice, if the title-field could be disabled at all.
There is the readOnly-option only.
Thank you.