Legacy Knowledge Base
Published Jun. 30, 2025

Validate the JSON format in WYSIWYG editor of Web content

Written By

Apsara Raheja

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

Issue

  • When the user creates basic web content and puts JSON inside the rich text, the JSON is used for the navigation menu. Since content contains extensive JSON, it is challenging to add more menu means attributes in the JSON because JSON is not saved in the correct format inside the rich text.
  • As a result, the user faced some template errors, which is why they needed to use a JSON validator to check the content before publishing.

Environment

  • Liferay DXP [all versions] 

Resolution

  • This requirement is considered a feature request and is being covered here: LPS-206391

Additional Information

  • Requesting a New Feature or Feature Improvement
  • Please be aware that the implementation of new ideas within Liferay products is entirely dependent on their evaluation or investigations since this will need modifying our existing product code, therefore there will be no ETA on this, but users can certainly vote for it.
Did this article resolve your issue ?

Legacy Knowledge Base