-
11 Dec 2012 8:14 AM #1
[4.1.3] NS_ERROR_FAILURE in Firefox when having HtmlEditor in hidden Container
[4.1.3] NS_ERROR_FAILURE in Firefox when having HtmlEditor in hidden Container
REQUIRED INFORMATION
Ext version tested:- Ext 4.1.3
Browser versions tested against:- FF17
Description:- If htmleditor is placed in a container with hidden:true then Ext throws: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLDocument.execCommand]
Code:var win = Ext.create('Ext.Window', { layout:'fit', width:300, height:300, items: [ { xtype: 'container', hidden: true, items: [ { xtype: 'htmleditor' } ] } ] }).show();
Operating System:- MacOSx 10.8.2
-
11 Dec 2012 8:28 AM #2Sencha - Community Support Team
- Join Date
- Nov 2007
- Location
- Helsingborg, Sweden
- Posts
- 2,455
- Vote Rating
- 52
Known FF issue, docs:
http://docs.sencha.com/ext-js/4-1/#!...eld.HtmlEditor
An Editor is a sensitive component that can't be used in all spots standard fields can be used. Putting an Editor within any element that has display set to 'none' can cause problems in Safari and Firefox due to their default iframe reloading bugs.
-
11 Dec 2012 8:29 AM #3Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,656
- Vote Rating
- 435
Thanks for the report! I have opened a bug in our bug tracker.
-
11 Dec 2012 9:55 AM #4
You found a bug! We've classified it as
EXTJSIV-7988
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote
