Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to add plugins for RTE in content fragment in AEM 6.5

Avatar

Level 3

Hi Experts,

How to Configure(add new one) RTE plugins in Content Fragment.

or Is it possible to add existing RTE component as a Data Type?

@Ritesh_Mittal 

 

Thanks and Regards

 

7 Replies

Avatar

Community Advisor

What is the error you're getting? can you please explain a bit where you're stuck.

I just followed the first one and i could see the plugin.

https://experience-aem.blogspot.com/2018/12/aem-6420-content-fragment-editor-add-font-size-color-bac... 

 

SivaPrasadReddyS_0-1646664654207.png

When I click full screen, i can see custom plugins added.

SivaPrasadReddyS_1-1646664825085.png

 

FYI, you will be able to click on Full screen only when you added some text. 

 

Regards

Siva

Avatar

Level 3

Hi @Siva_Sogalapalli 

I am trying to enable source edit by overriding 

/libs/dam/cfm/admin/clientlibs/v2/authoring/contenteditor/editors/StyledTextEditor.js

to

/apps/dam/cfm/admin/clientlibs/v2/authoring/contenteditor/editors/StyledTextEditor.js

But Source edit button is not visible

saurabh_kumar_02_0-1646667629791.png

Not getting icon

 

saurabh_kumar_02_1-1646667772418.png

 

Avatar

Community Advisor

I didn't try this way (/apps/dam/cfm/admin/clientlibs/v2/authoring/contenteditor/editors/StyledTextEditor.js), let me try this as well.

In the mean, the below is working for me, may be it's worth trying 🙂 

https://drive.google.com/open?id=1ZWRI2yUtD30im2oyvY2t4V_6zRIae_cO 

 

Regards

Siva

Avatar

Level 3

Hi @Siva_Sogalapalli 

Thanks for your effort but i need to enable all the plugins which is present by default.

Please let me know after trying 2nd one

Thanks