As the post above mentions, this is not part of GWT, so that you can
configure the editor interface however you please. But you can copy
the RichTextToolbar to use from the samples provided in the gwt
installation; you'll find it (and the images needed) in the directory:
samples/Showcase/src/com/google/gwt/sample/showcase/client/content/
text
On Oct 23, 7:43 pm, fchem <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I must say I'm kind of new to GWT.
> I'm using the latest 1.5.3 on a Mac.
> The RichTextToolbar class doesn't seem to be existing anymore. How do
> you display the toolbar ?
> Your help would be much appreciated.
> Thanks,
>
> Francois
>
> On Sep 26, 3:04 am, mbracken <[EMAIL PROTECTED]> wrote:
>
> > You're only adding theRichTextAreainto the page, you need to add
> > theRichTextAreaand the RichTextToolbar. If you look in the GWT
> > Showcase example (Kitchen Sink if you're using <1.5) you'll see
> > there's a class RichTextToolbar. You can use this class, or modify
> > it to fit your needs to work as a toolbar to control yourRichTextArea.
>
> > Something like:
>
> > /////////////////RichTextAreatextArea = newRichTextArea();
> > RichTextToolbar toolBar = new RichTextToolbar(textArea);
>
> > FlowPanel content = new FlowPanel();
> > content.add(toolBar);
> > content.add(textArea);
>
> > RootPanel.get("webricate_rte").add(content);
> > /////////////////
>
> > RichTextToolbar package is:
> > com.google.gwt.sample.showcase.client.content.text.
> > Be sure to include the images too.
>
> > On Sep 25, 9:33 am, Nomee <[EMAIL PROTECTED]> wrote:
>
> > > This might be simplest to answer.
> > > Being too lazy I tried to look at some examples in GWT showcase and
> > > GWT documentation however I was not able to show Extended Toolbar for
> > > Rich Text Area in my browser using following lines of code.
>
> > > finalRichTextArearc1=newRichTextArea();
> > > RootPanel.get("webricate_rte").add(rc1);
>
> > > This shows simple Text Area with No toolbar
> > > How can I show editing controls with extended toolbar?
>
> > > Many Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---