Results 1 to 4 of 4

Thread: Ext Htmleditor readOnly js error

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Sep 2010
    Location
    Germany
    Posts
    60
    Answers
    2
    Vote Rating
    10
      0  

    Default Answered: Ext Htmleditor readOnly js error

    My ExtJs 4.1.2 HtmlEditor throws an javascript error instantiating it with readOnly: true.
    PHP Code:
    NS_ERROR_FAILUREComponent returned failure code0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLDocument.execCommand
    Somebody here who knows what causes this error ?

  2. This is working for me in 4.1.2 and 4.1.3:

    Code:
    new Ext.form.Panel({
        renderTo : document.body,
        items    : [
            {
                xtype      : 'htmleditor',
                fieldLabel : 'Test',
                readOnly   : true
            }
        ]
    });

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •