#80839RTE CKEditor
Description
i used the CKEditor (Be) for my own Extension, with Flexforms. And make dots in me setting arguments e.g.
<settings><br> <tceforms><br> <exclude>1</exclude><br> <label>Beschreibung</label><br> <config><br> <type>text</type><br> <rows>5</rows><br> <cols>30</cols><br> <eval>trim</eval><br> </config><br> <defaultextras>richtext[]:rte_transform[mode=ts_css]</defaultextras><br> </tceforms><br> <p>then i got the following error Message</p> <p>index.php?route=%2Frecord%2Fedit&token=d0ec8fb…&edit[tt_content][39…:245 Uncaught TypeError: Cannot read property ‘description’ of undefined at index.php?route=%2Frecord%2Fedit&token=d0ec8fb…&edit[tt_content][39…:245<br> …</p> <p>The problem is:</p> <p>require([“ckeditor”], function(CKEDITOR) {</p> <p>…
require([‘TYPO3/CMS/Backend/FormEngine’], function(FormEngine) {
CKEDITOR.instances.data_tt_content__39__pi_flexform__data__general__lDEF__settings.description__vDEF_.on(‘change’, function() {
CKEDITOR.instances.data_tt_content__39__pi_flexform__data__general__lDEF__settings.description__vDEF_.updateElement();
FormEngine.Validation.validate();
});
});
});</p>
<p>the CKEDITOR Object make the eventhandling to onChange with the requlare dots, but with spaceing dots in my variable broke the settings.</p>
<p>From: <br> CKEDITOR.instances.data_tt_content__39__pi_flexform__data__general__lDEF__settings.description__vDEF_.on(‘change’</p>
<p>Must change to: <br> CKEDITOR.instances[‘data_tt_content__39__pi_flexform__data__general__lDEF__settings.description__vDEF_’].on(‘change’</p>
<p>Thx :)</p></settings>Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.