cs-icon.svg

Info Panel

The "Info Panel" allows you to place important JSON Rich Text Editor content inside a colored panel to make it stand out.

This step-by-step guide explains how to add an "Info Panel" plugin for your JSON Rich Text Editors within content types in Contentstack.

  1. Add the “Info Panel” JSON RTE plugin to your stack
    1. Go to your stack and click the “Settings” icon on the left navigation panel.
    2. Select Extensions.
    3. Click on the + New Extension button, and select Use Prebuilt.
    4. Use_Prebuilt.png

    5. In the following window, select JSON RTE Plugins from the drop-down menu.
       Prebuilt_JSON_RTE_Plugins_-_Select_JSON_RTE_Plugin.png
    6. Hover over Info Panel, and click on + Add Extension.
       JSON_RTE_Plugin_Info_Pannel_-_Add_extension.png
    7. On the configuration page, you will see the following options:
      • 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.
      • Unique ID: You will see a predefined unique ID for your JSON RTE plugin.
      • External Hosting URL (required): You will see a predefined URL of the externally-hosted JSON RTE plugin code.
      • Config Parameter (optional): You don't need to add config parameters to the prebuilt JSON RTE plugins. By default, the extensions are preconfigured and ready to use.
    8. Finally, Save this plugin.

  2. Use your JSON RTE plugin
  3. To use the "Info Panel" plugin in your JSON Rich Text Editor within a content type, perform the following steps:

    1. Go to your stack, click the “Content Models” icon on the left navigation panel, and click on the + New Content Type button.
    2. Create a content type by adding relevant details as displayed below:
    3. 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 JSON RTE Plugin(s) , select the Info Panel plugin from the popup window that appears.
      JSON_RTE_Plugin_Info_Pannel_-_Select_Plugin.png
    6. After adding the plugin, click on either Save or Save and Close to save your changes.
    7. To use the Info Panel plugin, create an entry for this content type, and you will see this plugin within the JSON Rich Text Editor on your entry page as shown below:JSON_RTE_Plugin_Info_Pannel_-_Use_this_panel.png
Was this article helpful?
^