Skip to main content
robertol6836527
Level 4
Jul 21, 2023 7:22 AM UTC

Richtext - Html Problems

Good morning,
in a Cms dialog I have a component of type "cq/gui/components/authoring/dialog/richtext" where I also set disableXSSFiltering="{Boolean}true".
When I insert the html code through the "Source Edit" sometimes the component does not save the html code even if it is sent to the server.
How can I solve the problem?
Thank you

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

9 replies

Level 2
Jul 21, 2023 11:34 AM UTC

Hi @robertol6836527 !

Any example HTML code that is not getting saved.

 

Regards,

Shailesh

Translate
arunpatidar
Community Advisor
Community Advisor
Jul 24, 2023 10:11 AM UTC

can you check the network call?

There is a call to default post servlet which save those values, you will see the 200 or 500 status code. check error later.

Translate
Arun Patidar
robertol6836527
Level 4
Jul 24, 2023 10:15 AM UTC

The server response is always 200 even when you don't save the data.

Translate
arunpatidar
Community Advisor
Community Advisor
Jul 24, 2023 11:56 AM UTC

Could you please share the sample HTML? and what AEM version are you using?

Translate
Arun Patidar