Bug #59574
closedRTE: JS exception raised in BlockStyle plugin regarding property disableStyleOnOptionLabel
100%
Description
Hi,
using own RTE-Configuration causes exceptions, as plugins try to check deprecated variable (disableStyleOnOptionLabel):
[root@mail web]# find ./typo3_src-6.2.3/typo3/sysext/rtehtmlarea/ -type f | xargs grep disableStyleOnOptionLabel
./typo3_src-6.2.3/typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockStyle/block-style.js: if (!this.pageTSconfiguration.*disableStyleOnOptionLabel*) {
./typo3_src-6.2.3/typo3/sysext/rtehtmlarea/htmlarea/plugins/TextStyle/text-style.js: style: (!(this.pageTSconfiguration && this.pageTSconfiguration.*disableStyleOnOptionLabel*) && HTMLArea.classesValues && HTMLArea.classesValues[cssClass] && !HTMLArea.classesNoShow[cssClass]) ? HTMLArea.classesValues[cssClass] : null
This causes a JS exception which blocks Table injection s. http://forum.typo3.org/index.php/t/198506/
TypeError: this.pageTSconfiguration is undefined
if (!this.pageTSconfiguration.disableStyleOnOptionLabel) { merged...612 (Zeile 15064)
As a workaround I just commented out the if-clause.
Best regards,
Stelli