Having both a switch and a RTE in a custom component breaks the RTE | Community
Skip to main content
Level 2
March 30, 2020
Question

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

  • March 30, 2020
  • 1 reply
  • 845 views

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: 

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

vanegi
Adobe Employee
Adobe Employee
July 16, 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.

blarisAuthor
Level 2
July 16, 2020
Sorry, I have updated our current version of AEM, which is 6.5.2.