Richtext - Html Problems | Community
Skip to main content
robertol6836527
New Participant
July 21, 2023

Richtext - Html Problems

  • July 21, 2023
  • 2 replies
  • 1723 views

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.

2 replies

arunpatidar
New Participant
July 24, 2023

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.

Arun Patidar
robertol6836527
New Participant
July 24, 2023

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

arunpatidar
New Participant
July 24, 2023

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

Arun Patidar
New Participant
July 21, 2023

Hi @robertol6836527 !

Any example HTML code that is not getting saved.

 

Regards,

Shailesh