Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Add plugins to Content Fragment MultiEditor Markdown Editor

Avatar

Level 1

We have a business requirement where there's a need to add plugins to Markdown editor within the Multitext (RTE) when used in a content fragment. Could you please confirm if this is possible to achieve in AEM 6.4 or even 6.5 version ? If it is possible then request you to please advise on how can we add custom or even out of box plugins to Markdown editor (see attached screen caps) in a similar way it is available in Rich text editor. 

 

Since business users have a specific need to use only Markdown editor (and not rich text) so request you to kindly share the steps on how this can be done (if possible).

 

Adobe Experience Manager 6.5.14.0

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @MadhumithaRamachandran,

In general editor view you are referring to on your screens is represented by this file /libs/dam/cfm/admin/components/authoring/contenteditor/multieditor/render.jsp

As you can see in the repository, above path is granite:InternalArea so you can't overlay this to add your changes (technically it is possible, but it's against Adobe best practices)

So, to achieve your goal you will have to create your own data type. Here is nicely described example (it is a bit different type of component but it will give you an idea how to write your code):

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @MadhumithaRamachandran,

In general editor view you are referring to on your screens is represented by this file /libs/dam/cfm/admin/components/authoring/contenteditor/multieditor/render.jsp

As you can see in the repository, above path is granite:InternalArea so you can't overlay this to add your changes (technically it is possible, but it's against Adobe best practices)

So, to achieve your goal you will have to create your own data type. Here is nicely described example (it is a bit different type of component but it will give you an idea how to write your code):