Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

html code inside dialog

Avatar

Level 4

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

1 Accepted Solution

Avatar

Correct answer by
Level 10
7 Replies

Avatar

Correct answer by
Level 10

Avatar

Level 4

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

Avatar

Level 10

I seems you need to create custom component

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

Avatar

Level 10

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. 

Avatar

Level 4

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