开发者

GXT HtmlEditor - How to retrieve the text?

Looking for an example of the ext-GWT / GXT HTMLEditor, especially the part where you retrieve开发者_StackOverflow中文版 the user's entry.

Thanks C


It is as simple as this:

FormPanel formPanel = new FormPanel();    
HtmlEditor htmlEditor = new HtmlEditor();
formPanel.add(htmlEditor);
String html = htmlEditor.getValue();

i.e. getValue returns the user's entry.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜