Use Prebuilt JSON RTE Plugins

Contentstack provides three prebuilt JSON Rich Text Editor plugins to get you started instantly instead of writing custom codes. You need to add these plugins to your stack and get started.

Below is a list of the prebuilt JSON RTE plugins provided by Contentstack:

To use a prebuilt JSON RTE plugin, log in to your Contentstack account, and perform the following steps:

  1. Go to your stack and click the “Settings” icon on the left navigation panel.
  2. Select Extensions, and click on the + New Extension button at the top-right corner of the page, and select the Use Prebuilt option.
  3. Use_Prebuilt.png

  4. In the following window, select JSON RTE Plugin from the drop-down menu.
  5. Prebuilt_dropdown.png

  6. Select any prebuilt plugin (for example, Highlight), and click on + Add Extension.
    Add_Highlight.png
  7. On the configuration page, you will see the following options:
    1. Title (required): You will see a predefined title. You can use this title when adding the JSON RTE plugins to your JSON Rich Text Editor in your content type.
    2. External Hosting URL (required): You will see a predefined URL of the externally-hosted JSON RTE plugin code.
    3. Note: The external hosting URL should be an HTTPS or a localhost URL.

    4. Config Parameters (optional): If you have used any config parameters in the source code, provide the value for the parameters here. You can make changes to this code as per your requirements. You can pass raw queries as config parameters in this section as shown below:
      {
        "key1":"value1",
        "key2":"value2"
      }
      

      Note: Users don't need to add config parameters to the prebuilt JSON RTE plugin extensions. By default, the extensions are preconfigured and ready to use.

  8. Finally, Save this plugin.

Was this article helpful?

Thanks for your feedbackSmile-icon

On This Page

^