You're only adding the RichTextArea into the page, you need to add the
RichTextArea and 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 your
RichTextArea.
Something like:
/////////////////
RichTextArea textArea = new RichTextArea();
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.
>
> final RichTextArea rc1=new RichTextArea();
> 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
-~----------~----~----~----~------~----~------~--~---