Threaded View
-
16 Nov 2012 1:46 AM #1
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.
Somebody here who knows what causes this error ?PHP Code:NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLDocument.execCommand]
-
Best Answer Posted by mitchellsimoens
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 } ] });


Reply With Quote