Fórum

DXP - Embed media buton in alloy editor

thumbnail
Ilenia Zedda, modificado 6 Anos atrás.

DXP - Embed media buton in alloy editor

New Member Postagens: 16 Data de Entrada: 28/05/15 Postagens Recentes
Hi,
I've implemented the code described here to add the 'embed' button in the alloy editor.

The new button appears but it doesn't seem to save the values entered.

Am I missing some config somewhere?

Thanks!
thumbnail
Chema Balsas, modificado 6 Anos atrás.

RE: DXP - Embed media buton in alloy editor (Resposta)

Regular Member Postagens: 127 Data de Entrada: 25/02/13 Postagens Recentes
Hi Ilenia!

The embed feature was disabled from Liferay Portal/DXP because it depends on a 3rd party service. You can see the code that will prevent you from using it in alloyeditor.jsp.

In hindsight, we could've made this configurable via a setting, so it could be easy to enable it, but right now, your only chance would be to hook that jsp to remove that part of the code.

Sorry I don't have better news at this point. I'll open a feature request to make that at least configurable.

Hope that helps!
thumbnail
Ilenia Zedda, modificado 6 Anos atrás.

RE: DXP - Embed media buton in alloy editor

New Member Postagens: 16 Data de Entrada: 28/05/15 Postagens Recentes
Ah! Should have checked the source for the alloy jsp! Thank you very much for your help!