There is a RichTextArea
private final RichTextArea rta = new RichTextArea();
and I'd like when I press an asterisk to add a radio button in this
RichTextArea.
I wrote
if(event.getCharCode()=='*')
{
RadioButton radio0 = new RadioButton("group0", "");
HorizontalPane
Well, I did this
if(event.getCharCode()=='*')
{
rta.setHTML("");
}
it creates a radiobutton which is clickable in Chrome, but it isn't in
Firefox and IE.
rta is my RichTextArea, is declared as: private fi
final RichTextArea.Formatter rtaf= rta.getFormatter();
rtaf.insertHTML("");
but the problem is still there. It is not clickable in the Firefox and IE.
In Chrome works fine.
Andrei thank you sooo much for your replies!!!
On Wednesday, October 3, 2012 3:51:25 PM UTC+1, Andrei wrote:
>
> Use .inse
rtaf.insertHTML(" ");
in that way it works in Chrome and IE but there is still a problem with
Firefox.
Thank you in advance!!!
On Thursday, October 4, 2012 10:54:57 AM UTC+1, jimakos17 wrote:
>
> final RichTextArea.Formatter rtaf= rta.getFormatter();
>
> rtaf.insertHTML(&q
I am trying to create an area and initially I used the RichTextArea in
order to use functions like toggleBold, toggleItalic and toggleUnderline.
After a few days I noticed that in comparison with the TextArea, there are
no getCursorPos and getSelectedText methods which are very essential
in orde
s going on with selectionStart.
elem.selectionStart returns always 0
Please any idea? Thank you!!!
On Tuesday, October 9, 2012 2:18:57 PM UTC+1, jimakos17 wrote:
>
> I am trying to create an area and initially I used the RichTextArea in
> order to use functions like toggleBol
anyone please...
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/wlFanK9tkpoJ.
To post to this group, send email to google-web-toolkit@googlegro