Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Content Fragment New Editor - Disable Richtext button

Avatar

Level 2

Hi,
In my project we need to exclude some features present in the richtext toolbar.(example: remove the button for uploading images)
I have read some of the official documentation, but it is not clear to me how to do .
Also how can I test any fix in the local environment? the new interface seems not to be accessible from there.
I hope you can help me,
Thank you

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

3 Replies

Avatar

Community Advisor

Hi @30991930w169 ,

Customize the RTE via rtePlugins Configuration:

Step 1: Understand Where It Applies

In AEMaaCS, Content Fragments are authored using Structured Content Models. Each text field (of type multiline) can be configured with RTE plugin settings.


Step 2: Configure rtePlugins in the Content Fragment Model

  - Go to: Tools → Assets → Content Fragment Models

  - Select your model → Click Edit

  - For the field using Rich Text:

    - Select the field (type: Multiline Text)

    - On the right panel, change the "Multiline Text Type" to "Rich Text"

    - Scroll down to "Editor Configuration"

    - Click "Configure"

You’ll now see Rich Text Plugins (rtePlugins) like:

{
  "features": "*",
  "rtePlugins": {
    "format": {
      "features": "bold,italic,underline"
    },
    "justify": {
      "features": "justifyleft,justifycenter,justifyright"
    },
    "links": {
      "features": "modifylink,unlink"
    },
    "misctools": {
      "features": "-"
    },
    "image": {
      "features": "-"
    }
  }
}

To disable image upload:

Set the "image" plugin to an empty feature list or disable it:

"image": {
  "features": "-"
}

 

Avatar

Level 2

Hi Amit, 

thank for your reply!

I tried to implement what you told me but the "Configure" button is not present in the Content Fragment Model section.

30991930w169_0-1746603090614.png

 

Avatar

Community Advisor and Adobe Champion

In case this is supported, I am not aware of it. I raised a feature request already some time ago: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-ideas/define-which-rte-plu...