Dear all

I want to save RichTextArea content into database, and it will show in HTML
widgets later. Before save, RichTextArea.getHtml() will return HTML String,
I have to Sanitize this String by SimpleHtmlSanitizer. But it is  too much
simple, even <u> <br> are not supported, where can I find a complete one?

Btw, Is there any best practice for RichTextArea? there is no standard
ToolBar, no devGuide for RichTextArea. What is the target behavior when you
paste something from Ms word or OpenOffice or other HTML page? Seems HTML
Tags and css will pasted, but javascript will not be pasted. But I don't
know whether it will be changed in future.
Also, why RichTextArea doesn't provide some method like getSafeHtml()?

-- 
Gong Min
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to