If you're not explicitly selecting the RTA's text (using formatter.selectAll(), and it's becoming selected by default, please do file a bug for this. It's likely a mozilla bug, but there's probably something we can do to forcibly work around it. Do post a snippet that reproduces the exact behavior if possible -- these things often happen for subtle reasons that are hard to reproduce without a very specific order of operations.
Thanks, joel. On Fri, Jan 8, 2010 at 2:08 PM, Manuel Carrasco Moñino <man...@apache.org>wrote: > Hello, > > When a RichTextEditor is added to a page and then you set the HTML content, > it is displayed fine, then when you focus the editor and write any letter > with your keyboard, all the content is erased. If you push undo (ctrl-z) the > content is displayed again. The problem seems to be that when you add > content to the editor, the first time, this content goes selected, so when > you introduce any text it is override. > > Do you think it is a bug?, is it possible to unselect the text after adding > it to the editor. > > Thanks > Manolo > > > > -- > http://groups.google.com/group/Google-Web-Toolkit-Contributors >
-- http://groups.google.com/group/Google-Web-Toolkit-Contributors