Bug #80394
closedckeditor: js error when changing a link
0%
Description
Hi,
I was trying out the new ckeditor and found out that I get an js error when trying to change a link.
SCRIPT5007: Unable to get property 'length' of undefined or null reference
it happens in typo3link.js (71,9)
var additionalAttributes = editor.config.typo3link.additionalAttributes;
for (i = additionalAttributes.length; --i >= 0;) {
the object editor.config.typo3link has no additionalAttributes.
then it results in the above mentioned error:
var additionalAttributes = editor.config.typo3link.additionalAttributes;
for (i = additionalAttributes.length; --i >= 0;) {
when trying in the above coding to access additionalAttributes.length. Maybe there should be a check if the additionalAttributes is not null.
The result is thaton IE I can not change the link, have to tremove and create it new.
I am using latest typo3 version 8.6.1. if you wish I could retest a bugfix.
Best regards
Eckard.