I went ahead and opened a ticket for the RichTextArea for this
feature.
*
http://code.google.com/p/gwt-html-editor/issues/detail?id=27
I'm trying to do two separated (but related things):
1. Add a style sheet to the RichTextArea
2. Wrap any selected item in a "<span class='classStyleName'>Wrapped
text</span>" tag
This is not built into the existing framework and because the
framework uses the bridge pattern to separate the RichTextArea from
the implementations for IE6, Firefox, Opera, etc, it isn't possible
(as far as I can tell) to modify the classes. In addition, the
implementation class instance in RichTextArea is private, so I can't
derive off of it and add additional details.