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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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


Level 2


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: 


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


Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies



This is reproducible on 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.