PDA

View Full Version : Two questions about gxt _htmlEditor



Love Yao
15 Nov 2009, 11:46 PM
First, how to “wrap automatically” ,is there being a Method to invoke?
Second , inHtmlEditor,when I hit the enter key for a new line it inserts <p></p>.
But,when I initialize the htmlEditor for coding:
htmlEditor.setValue("<div>");
And then in my application, I hit the enter key, it inserts<div></div>.
So why? I am confused。
Thanks.

Love Yao
16 Nov 2009, 10:58 PM
:((
:((
:((
:((
:((
:((

kirtcathey
31 May 2010, 11:57 PM
Would like to wrap automatically, if possible. Is there a call I am not seeing in the docs? Anybody can share a code snippet?