html code inside dialog | Community
Skip to main content
New Participant
December 14, 2015
Solved

html code inside dialog

  • December 14, 2015
  • 7 replies
  • 2672 views

Hi,

is there a way to put html code inside dialog?

For example i need a green div as first element of the dialog

Thanks

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 edubey

Hi,

Take a look at Source Edit plugin available in Richext

https://docs.adobe.com/docs/en/cq/5-6-1/widgets-api/index.html?class=CQ.form.rte.plugins.MiscToolsPlugin

7 replies

edubey
New Participant
December 15, 2015
New Participant
December 14, 2015

I need to use this plugin: http://mjolnic.com/fontawesome-iconpicker/

The js script is not a problem but i need to force some html rows inside the dialog

smacdonald2008
New Participant
December 14, 2015

The only way to use JavaScript frameworks in AEM dialogs is to build a custom xtype. Then you can use JS code and make use of the JS plug-in. 

edubey
New Participant
December 14, 2015

I seems you need to create custom component

Can you please elaborate more on " insert a bootstrap plugin inside the dialog."

New Participant
December 14, 2015

I want to insert a bootstrap plugin inside the dialog.

So i need a real html code and not an editor or a rte plugin

smacdonald2008
New Participant
December 14, 2015

Look into building a CQ dialog that uses this xtype:

https://docs.adobe.com/docs/en/cq/5-6/widgets-api/index.html?class=CQ.Ext.form.HtmlEditor

Hope this helps

edubey
edubeyAccepted solution
New Participant
December 14, 2015