Having both a switch and a RTE in a custom component breaks the RTE

Avatar

Avatar

blaris

Avatar

blaris

blaris

30-03-2020

Hello,


We have a custom component that uses the inline rich-text editor as one of its properties.  This seems to break when there are switches also in the dialog.

It throws this javascript error: 

blaris_0-1585587817267.png

It looks like this was a problem and fixed in 6.3.3.2, but wondering if anyone has come across it again? This is producible on version 6.5.2.

components RTE

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

vanegi

Employee

Avatar

vanegi

Employee

vanegi
Employee

15-07-2020

This is reproducible on 6.3.2.2 via CQ-4252056 but not on master instance. This doesn't seem to relate to RTE. The error in console is just a side-effect. The root cause is that when the dialog is being opened, the foundation-contentloaded event is not being triggered and RTE initializes on that event.