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.

    NoteYou can sort and search the connector(s) based on the filter.

    Click to enlarge
  4. Under Choose an Action tab, select the Format JSON RTE Content to HTML action.
    Click to enlarge
  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.
    Click to enlarge
  6. Click Proceed.
  7. Click Test Action to test the configured action.
    Click to enlarge
  8. The content will appear in HTML format. Click Save and Exit.
    Click to enlarge

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.
    Click to enlarge
  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.
    Click to enlarge
  3. Click Proceed.
  4. Click Test Action to test the configured action.
    Click to enlarge
  5. The content will appear in Text format. Click Save and Exit.
    Click to enlarge

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.
    Click to enlarge
  2. Select the HTML RTE Content you want to convert.
    Click to enlarge

    NoteProvide the content in HTML format.

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

This sets up the RTE Formatter action connector.