google-code-export / gwt-ext

Automatically exported from code.google.com/p/gwt-ext
0 stars 0 forks source link

HtmlEditor not work #91

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In 0.9.1 version, I try put HtmlEditor to Dialog in Form,
but in FF i got many errors:
uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLDocument.designMode]" nsresult:
"0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::
http://localhost:8888/com.mycompany.MyApplication/js/ext/ext-all-debug.js
:: anonymous :: line 23209" data: no] .

I opera I got htmleditor with "false" string and don't work, 
htmleditor is disabled.

In IE I lost buttons toolbar in HtmlEditor when lost focus.  

My code is:

                form.add(new TextField(new TextFieldConfig() {
            {
                setFieldLabel("Password");
                setName("password");
                setWidth(175);
                setPassword(true);
                setAllowBlank(false);
            }
        }));

        form.container(new ContainerConfig() {});

        HtmlEditor edit = new HtmlEditor(new HtmlEditorConfig() {
            {
                this.setId("pero");
                this.setFieldLabel("label");
                this.setHeight(200);
                this.setWidth(550);
                this.setAutoCreate(true);

            }
        });
        form.add(edit);

Original issue reported on code.google.com by jdimi...@gmail.com on 1 Sep 2007 at 4:07

GoogleCodeExporter commented 9 years ago
Duplicate of http://code.google.com/p/gwt-ext/issues/detail?id=83

Original comment by sanjiv.j...@gmail.com on 1 Sep 2007 at 8:00

GoogleCodeExporter commented 9 years ago
Hi, 
I am creating html editor it is working fine when i create it, but when i try 
to open
the component in edit mode it is displaying false by default in edit mode.

Can any one tell how can i make insertion mode on so i dont get false when 
editing.

Thanks

Original comment by purohitp...@gmail.com on 26 May 2010 at 5:58