Hi,
I have custom buttons on Edit Live Widget , when i click on a button it will insert some HTML to the body of the widget.
This is working as expected in /AppConsole, but its not working in /content(Content workspaces)
we are using following Javascript code to insert the HTML
editLiveObj.InsertHTMLAtCursor(escape("<div class=\"imagecaption align"+alignType+"\"><img src=\"\" alt=\"Image goes here\" />Byline here</div>"));
where editLiveObj is JS variable defined in widget render XSLT.
var editLiveObj=editlive_<xsl:value-of select="$n"/>;
editLiveObj.InsertHTMLAtCursor();
This editLiveObj is available in /AppConsole as the widget render from XSLT.
Where as editLiveObj is not available in Contetn Work Spaces(/content)
How we can define or get the similar object (editLiveObj) in Content Workspaces?
How we can do this Content Work spaces?
Thanks,
Gangi.