Hello , I have sent a similar email yesterday which said I can't append html
button to wysiwyg in js. Just now I have tried in plugin with gwt. It doesn't
work eithor. For example I define a string varirable
String button= "<input type='button' value='xx' />"
and use execute(button) ,and it will add a button to wysiwyg editor ,but it
does nothing to the source ,so ,the things I have done can't be saved.Of course
,execute(rta.getDocument().createButtonInputElement()) doesn't work eithor. I
see the RichTextArea which is implemented by xwiki and extended from the
RichTextArea of the gwt has a method setHtml() .And it doesn't work just like
execute(). At first ,I think this should be a very easy thing .but I have been
defeat by it - -!
Pleanse ,help me . Thank you .
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs