configuring RTE plugin for content fragment editor | Community
Skip to main content
mohanb
Level 4
Sep 22, 2016 5:59 PM UTC
Solved

configuring RTE plugin for content fragment editor

Hi 

Has anyone configuration RTE plugin for content fragment editor? I am looking for node structure where default RTE config is stored for content fragment editor and whether it can be customized as per user needs

sureshr19072451
sureshr19072451Accepted solution
Level 3
Feb 19, 2019 3:30 PM UTC

You could try manually overlaying the StyleTextEditor.js file under /apps  -

Don't forget to define the categories and dependencies as done for clientLibraryFolders under /libs.

For ex:

Thanks.

16 replies

Level 2
Oct 16, 2018 12:43 AM UTC

The richt-text editor of the AEM Content Fragment tool is very limited. What a lot of us are looking for, is how to add standard plugins, like e.g. "link", "image", "source" (to add e.g. SPAN) tag.

Reading other posts, it seems we need to write JavaScript plugins for each feature ("links", "image", "source").

Can anyone please share how to add the "links", "image" and "source" buttons?

Is it configurable like when we use the RTE widget in a dialog? Or do we have to write a JS plugin for each of these three buttons (if yes, are there any examples?)?

Thanks!

Translate
New Participant
Jun 6, 2018 10:19 PM UTC

Is there any way to customize RTE in content fragments? I need to add additional plugins like misc tools, superscript etc.

Translate
mohanb
mohanbAuthor
Level 4
Sep 22, 2016 7:10 PM UTC

i need to enable misctools plugin on content fragment RTE. we've few options available now and i wanted to extend the options available.

approach followed to enable RTE options for text components is fine but i'm not able to find where default configuration for content fragments are stored.

Translate
smacdonald2008
Level 10
Sep 22, 2016 6:52 PM UTC

What types of RTE customization are you trying to do.

For RTE - you can use it to enter text into a Content Fragment without performing any modifications.

I am not clear what you are trying to do. 

For those reading this thread and want to know more about Content Fragments in AEM 6.2 - see: 

https://helpx.adobe.com/experience-manager/using/content-fragments.html

Translate