This article presents a possible use case and corresponding sample flows that your app can support. These flows can be a helpful starting point as you plan your implementation.
In this scenario, your app or site allows site visitors to create and edit content. They can choose whether to create the content using a rich content viewer or in a Markdown editor. They can toggle between the two formats while editing the content.
Call Validate Document, specifying:
fixDocument
set to true
.Call Convert from Ricos Document, specifying:
validDocument
value from the previous step's response.MARKDOWN
.Use the response to populate your Markdown editor.
Call Convert to Ricos Document, specifying:
Use the response to populate your rich content editor.