RTE Formatter

The RTE Formatter action connector helps convert content within the JSON Rich Text Editor into HTML or text formats. Additionally, you can also convert HTML RTE content into JSON.

You must configure the trigger connector to fetch the entry's content in order to configure this action. Add a JSON RTE field to the content type and add content to the entry.

Set up RTE Formatter

The RTE Formatter lets you perform the following actions:

  1. Format JSON RTE Content to HTML
  2. Format JSON RTE Content to Text
  3. Format HTML RTE Content to JSON

Let’s look at each of them in detail.

Format JSON RTE Content to HTML

This action lets you convert the content within the JSON RTE into HTML format.

  1. Click Configure Action Step from the left navigation panel.
  2. Click Action Step to configure third-party services.
  3. Within the Configure Action Step, click the RTE Formatter connector.
    RTE_Formatter.png
  4. Under Choose an Action tab, select the Format JSON RTE Content to HTML action.
    JSON-To-HTML-RTE.png
  5. Select the JSON RTE Content you want to convert.
    SelectJSON-Content-RTE.png
  6. Click Proceed.
  7. Click Test Action to test the configured action.
    Test-Action-RTE.png
  8. The content will appear in HTML format. Click Save and Exit.
    Save-Exit-RTE.png

Format JSON RTE Content to Text

This action lets you convert the content within the JSON RTE into text format.

  1. Within the Configure Action Step, click the RTE Formatter connector.
  2. Select the Format JSON RTE Content to Text action.
    Select-Format-JSON-Text-RTE.png
  3. Select the JSON RTE Content you want to convert.
    Select-Content-RTE.png
  4. Click Proceed.
  5. Click Test Action to test the configured action.
    Test-Action-RTE.png
  6. The content will appear in Text format. Click Save and Exit.
    Save-Exit-Content-RTE.png

Format HTML RTE Content to JSON

This action lets you convert the HTML RTE content into JSON.

  1. Within the Configure Action Step, click the RTE Formatter connector.
  2. Select the Format HTML RTE Content to JSON action.
    fORMAT_htmlrte_JSON.png
  3. Select the HTML RTE Content you want to convert. 
    Select_Format_HTML_RTE_fIELD.png

    Note: Provide the content in HTML format.

  4. Click Proceed.
  5. Click Test Action to test the configured action.
    Test-Action-RTE.png
  6. The content will appear in JSON format. Click Save and Exit.
    Save_and_Exit.png

This sets up the RTE Formatter action connector.

Was this article helpful?
^