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()?