Threaded View

  1. #1
    Sencha User
    Join Date
    Sep 2010
    Location
    Germany
    Posts
    54
    Answers
    2
    Vote Rating
    2
    HTK is on a distinguished road

      0  

    Default Answered: Ext Htmleditor readOnly js error

    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
            }
        ]
    });

Thread Participants: 2