cs-icon.svg

Use JSON RTE Plugins in Content Types

Note: Experience Extensions use the legacy approach with extensions. We recommend using the RTE UI Location for the Contentstack App Framework to extend the functionality of your apps.

Once you have added a custom JSON RTE plugin to your stack, you can use it in the JSON Rich Text Editor field of your content type.

To add a JSON RTE plugin within a JSON Rich Text Editor in a content type, log in to your Contentstack account, and perform the following steps:

  1. Go to your stack and click the “Content Models” icon on the left navigation panel.
  2. Click on the + New Content Type button.
  3. Enter the details shown in the image below and click on Save and proceed.
    CT_save.png
  4. In the Content Type Builder page, add the JSON Rich Text Editor field in your content type by clicking on the “Insert a field” link represented by a + sign.
  5. Under Select Plugin(s), select the plugins you want to add within the JSON Rich Text Editor.
    select_json-rte-plugin

    Note: You can add a maximum of five plugins to a single JSON RTE field in a content type.

  6. After adding the plugins, click on either Save or Save and Close to save your changes.

Now, when you create an entry for that content type, you will see your plugin in action within the associated JSON RTE field.

plugins
Was this article helpful?
^