On Sat, Jan 12, 2013 at 12:11 AM, Boudjelda Mohamed Said
<bmscomp(a)gmail.com> wrote:
Hi
I want to get instantly the html content of Wysiwyg in javascript , I am
using it that way
....
<textarea id="content" name="content" width="100%"
height="300px" >
....
Wysiwyg.onModuleLoad(function() {
editor = new WysiwygEditor({
hookId: 'content',
syntax: 'xwiki/2.0'
});
});
I could not get HTML content of editor instantly
editor.getRichTextArea().contentWindow.document.body.innerHTML
See
http://extensions.xwiki.org/xwiki/bin/view/Extension/WYSIWYG+Editor+Module#…
also.
Hope this helps,
Marius
Thanks
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users