Expand my Community achievements bar.

Custom Rich Text Editor (RTE) Plugins for Adobe Experience Manager | AEM Community Blog Seeding

Avatar

Administrator

BlogImage.jpg

Custom Rich Text Editor (RTE) Plugins for Adobe Experience Manager by Bounteous

Abstract

Out-of-the-box (OOTB) plugins and their features cover many text editing use cases, but there will always be a need for customization. Recently, I came across a requirement where authors wanted the flexibility to add data attributes to the HTML elements for analytics tracking using the Text component RTE capabilities in Adobe Experience Manager (AEM).

Learn how to add a custom tool to RTE that will add data attributes to a specific element within HTML by following the steps outlined in this article. This same process can be used for any other custom RTE Tools you have to add as well.

By following these steps, you will enable the author to add attributes or remove attributes using the in-place editing toolbar in AEM, as can be seen below.

How to Add a Custom Plugin to RTE?
Adding a new plugin to RTE is a five-step process and involves JavaScript coding.

Create a new Clientlib and provide Categories
Create a new Command and Register it with CommandRegistry
Create a new Plugin and Register it with PluginRegistry
Create a custom dialog if there is a need
Enable plugin

Read Full Blog

Custom Rich Text Editor (RTE) Plugins for Adobe Experience Manager

Q&A

Please use this thread to ask the related questions.



Kautuk Sahni
0 Replies