Expand my Community achievements bar.

SOLVED

How to create a video plugin for Rich Text Editor

Avatar

Level 3

Hi, I need to create Video plugin for Rich Text Editor(RTE) in CQ5.6. I referred the following url “http://docs.adobe.com/docs/en/cq/current/administering/configuring_rich_text_editor.html” . There is no plugin ID for video.

I want to create new icon in RTE as edit and findreplce plugin. When we click on video icon, One dialog has to open with some input values to give video path and video heading.

Is there any video plugin available for RTE? Could anyone please guide me to create video plugin for RTE?

Thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Level 10

You will need to create a custom RTE plug-in. Here is a community article that will show you how to build a custom plug-in for the RTE:

http://experience-aem.blogspot.ca/2014/02/aem-cq-56-extend-richtext-editor-add-new-plugin-pullquote....

View solution in original post

5 Replies

Avatar

Level 9

Here are steps to create plugin for rte colorpicker

http://wcmaem.blogspot.com/2013/12/colorpicker-rte-plugin-for-richtext.html

Look for any opensource (jquery or similar)  plugin and follow the steps described in the above link

Avatar

Correct answer by
Level 10

You will need to create a custom RTE plug-in. Here is a community article that will show you how to build a custom plug-in for the RTE:

http://experience-aem.blogspot.ca/2014/02/aem-cq-56-extend-richtext-editor-add-new-plugin-pullquote....

Avatar

Level 3

Yeah, The above link gave me idea of creating a custom plugin. But I dont  understand about that APIs. I am not able to see CUI.rte.plugins.PluginRegistry.register, CUI.rte.plugins.LinkPlugin.LINKABLE_OBJECTS, CUI.rte.Utils.i18n, editorKernel.relayCmd. Could you please share me the API url to see all the plugin classes?

Avatar

Level 10

It looks like this API Reference s not included in public docs. Please file a ticket at our community page: 

http://helpx.adobe.com/marketing-cloud/experience-manager.html

Avatar

Level 3

I have found Plugin.js file. It defined lot of core functions.

path  - /libs/cq/ui/rte/core/plugins/Plugin.js

Still I am not able to find function called editorKernel.relayCmd and so many.