Hi Tevis, If u want customize your text area you should use RichTextArea and a toolbar for changing the font,color , creating a link etc. This tool bar is freely available in http://gwt.google.com/samples/Showcase/Showcase.html#CwRichText. Note that the code is available in gwt samples.
On Jan 1, 11:07 pm, Trevis <[email protected]> wrote: > I feel like i must be missing something obvious but i'm not seeing any > convenience method to get the selected text. Seems too obvious to be > an oversight. Any help would be much appreciated. > > Trevis > > On Dec 31 2009, 9:26 am, Trevis <[email protected]> wrote: > > > > > I'd like to create a custom rich text aera. I think I I've got a fair > > handle on how it works from playing with the showcase RichTextToolbar > > source code. The Formatter.insertHtml method seems like it will get > > almost exactly what i need. But, there is one critical peice of the > > puzzle I have yet to solve. I need to grab the text that the user has > > selected to make the HTML inserts work he way I need them to. > > > Am I missing it? How can I get the selected text? -- 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.
