cs-icon.svg

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.

Note: To configure this action, you must configure the trigger connector to fetch the entry's content. 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. You can add multiple JSON RTE content to convert.

  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.

    Note: You can sort and search the connector(s) based on the filter.

    Select_Connector
  4. Under Choose an Action tab, select the Format JSON RTE Content to HTML action.Select_Action
  5. Click the + Add JSON RTE Content button to select the JSON RTE content you want to convert.
    You can mark the Merge multiple RTE contents in a single array checkbox to include all the JSON RTE content in a single array.Select_Content
  6. Click Proceed.
  7. Click Test Action to test the configured action.Test_Action
  8. The content will appear in HTML format. Click Save and Exit.Save_Exit

Format JSON RTE Content to Text

This action lets you convert the content within the JSON RTE into text format. You can add multiple JSON RTE content to convert to text format.

  1. Select the Format JSON RTE Content to Text action.Select_Action
  2. Click the + Add JSON RTE Content button to select the JSON RTE content you want to convert.
    You can mark the Merge multiple RTE contents in a single array checkbox to include all the JSON RTE content in a single array.Select_Content
  3. Click Proceed.
  4. Click Test Action to test the configured action.Test_Action
  5. The content will appear in Text format. Click Save and Exit.Save_Exit

Format HTML RTE Content to JSON

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

  1. Select the Format HTML RTE Content to JSON action.Select_Action
  2. Select the HTML RTE Content you want to convert.Select_Content

    Note: Provide the content in HTML format.

  3. Click Proceed.
  4. Click Test Action to test the configured action.Test_Action
  5. The content will appear in JSON format. Click Save and Exit.Save_Exit

This sets up the RTE Formatter action connector.

Was this article helpful?
^