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.
  1. #1
    Sencha Premium Member Fredric Berling's Avatar
    Join Date
    Sep 2007
    Location
    Sweden
    Posts
    149
    Vote Rating
    2
    Fredric Berling will become famous soon enough

      0  

    Default [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]
    Test Case:

    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

  2. #2
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Helsingborg, Sweden
    Posts
    2,455
    Vote Rating
    52
    mankz is a jewel in the rough mankz is a jewel in the rough mankz is a jewel in the rough mankz is a jewel in the rough

      0  

    Default


    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.

  3. #3
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,656
    Vote Rating
    435
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

  4. #4
    Sencha Premium Member Fredric Berling's Avatar
    Join Date
    Sep 2007
    Location
    Sweden
    Posts
    149
    Vote Rating
    2
    Fredric Berling will become famous soon enough

      0  

    Default


    Quote Originally Posted by mankz View Post
    Ahh. It was even documented. Thanks for information.