View Full Version : Portlet with HTML editor

22 Jul 2012, 3:11 AM
Ihave a portal where I can add portlet with HTML editor. But when I drag and drop this portlet, content of editor disapeare and I'm not able to write into editor any more.

Can anyone help me?

23 Jul 2012, 6:00 AM
The HtmlEditor component generates an iframe, under the covers. I'm betting that you'll have to write code on the drop event to move the iframe's DOM into the DOM of the target container.

Mind you, I never tried this and am not sure if it will work properly, since browsers place certain security restrictions on iframes.