Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

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

blaris
Level 1
Level 1

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
2 Replies
vanegi
Employee
Employee

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.

blaris
Level 1
Level 1
Sorry, I have updated our current version of AEM, which is 6.5.2.