How to create a video plugin for Rich Text Editor | Community
Skip to main content
Level 3
October 16, 2015
Solved

How to create a video plugin for Rich Text Editor

  • October 16, 2015
  • 5 replies
  • 2003 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

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.html

5 replies

Community Advisor
October 16, 2015

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

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

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.html

Level 3
October 16, 2015

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?

smacdonald2008
Level 10
October 16, 2015

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

Level 3
October 16, 2015

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.