Re: Customizing RichTextArea with insertHtml in GWT 2.0
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 <trevistho...@gmail.com> 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 <trevistho...@gmail.com> 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home