Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Apr 2011
    Posts
    1
    Vote Rating
    0
    asol is on a distinguished road

      0  

    Question IE9: 2 Problems with HtmlEditor

    IE9: 2 Problems with HtmlEditor


    Hi!
    i have two problems with the HtmlEditor and Internet Explorer 9.

    Sometimes when loading a page with an Editor all command buttons seems disabled. When form is submitted all data from editor is lost!
    I have the same effects on demopage: http://dev.sencha.com/deploy/dev/exa...m/dynamic.html

    popups to select different text colors are not completly visible. A minor problem of course ;-)

    Anyone out there with same problems or even have an idea how to handle it?

    Thanks!
    Andreas

  2. #2
    Sencha User
    Join Date
    Jul 2009
    Posts
    35
    Vote Rating
    0
    Chap is on a distinguished road

      0  

    Default Same problem

    Same problem


    Hi,

    I same the same problem with you. On IE9, colorMenu doesn't work in sometime. And the page http://dev.sencha.com/deploy/ext-4.0...m/dynamic.html would see the problem as below step:

    1) use the HtmlEditor in Form 3, it works fine.
    2) use the HtmlEditor in Form 5, it works fine.
    3) use the HtmlEditor in Form 3 again, it doesn't work.

    Anyone can help us? Thanks,

  3. #3
    Sencha User
    Join Date
    Jan 2011
    Posts
    9
    Vote Rating
    0
    rborg is on a distinguished road

      0  

    Default


    yep, I have this problem too. Here is another related post: http://forums.ext.net/showthread.php...tor-Render-Bug

    I have had a brief look into this and as per the code below, once the button is clicked a number of times, you see the problem only in ie (Firefox etc. is fine). I am running Win 7 ie9 in IE9 standards mode. The only difference in the two sets of code is the layout. At this stage I gather any other layout that affects the height has a problem. It seems only to work on a layout of "form".

    Works:
    Code:
    function TestNew(params) {
        new Ext.Window({
            height: 770,
            width: 650,
            padding: 0,
            id: 'tucnmwin',
            iconCls: 'x-icon-users',
            items: [
                   {
                        xtype: 'htmleditor',
                        id: 'tucnm_text',
                        name: 'text',
                        width: 500,
                        height: 200,
                        autoScroll: true,
                        autoHeight: true,
                        enabled: true,
                        listeners: {
                            afterrender  : function( htmleditor ) {
                                //alert('tb rendered');
                                //htmleditor.getToolbar().show();
                            }
                        }
                    },
                    {xtype: 'button', 
                        handler: function(button, event) {
                            Ext.getCmp('tucnmwin').close();
                        },
                        text: 'Close',
                        tabIndex :99,
                        xtype: 'button'
                    }
            ],
            layout: 'form',
            modal: true,
            closable: false,
            title: 'New Win'
        }).show();
    
    }
    Fails:
    Code:
    function TestNew(params) {
        new Ext.Window({
            height: 770,
            width: 650,
            padding: 0,
            id: 'tucnmwin',
            iconCls: 'x-icon-users',
            items: [
                   {
                        xtype: 'htmleditor',
                        id: 'tucnm_text',
                        name: 'text',
                       anchor: '300, 200',
                        width: 500,
                        height: 200,
                        autoScroll: true,
                        autoHeight: true,
                        enabled: true,
                        listeners: {
                            afterrender  : function( htmleditor ) {
                                //alert('tb rendered');
                                //htmleditor.getToolbar().show();
                            }
                        }
                    },
                    {xtype: 'button', 
                        handler: function(button, event) {
                            Ext.getCmp('tucnmwin').close();
                        },
                        text: 'Close',
                        tabIndex :99,
                        xtype: 'button'
                    }
            ],
            layout: 'anchor',
            modal: true,
            closable: false,
            title: 'New Win'
        }).show();
    
    }

  4. #4
    Sencha User
    Join Date
    Jan 2011
    Posts
    9
    Vote Rating
    0
    rborg is on a distinguished road

      0  

    Default


    OK,this is a possible solution:

    Code:
    unction doWindow(params)
    {
        new Ext.Window({
            height: 770,
            width: 650,
            padding: 0,
            id: 'ucnmwin',
            iconCls: 'x-icon-users',
            items: [
                    
                    {
                        title: 'here 40',
                        border: true,
                        width: '100%',
                        layout: 'form',
                        flex: 1,
                        items: [
                                    {
                                        xtype: 'htmleditor',
                                         anchor: '100% -54',
                                        id: 'tucnm_text',
                                        hideLabel: true,
                                        autoScroll: true,
                                        tabIndex :5,
                                        enabled: true,
                                        listeners: {
                                            afterrender  : function( htmleditor ) {
                                            }
                                        }
                                    }
                        ]                    
                    },
                    {xtype: 'button', 
                        handler: function(button, event) {
                            Ext.getCmp('ucnmwin').close();
                        },
                        text: 'Close 6',
                        tabIndex :99,
                        xtype: 'button'
                    }
            
            ],
            layout: 'vbox',
            modal: true,
            closable: false,
            title: 'New Win',
            listeners: {
                afterrender  : function( p ) {
                    p.doLayout();
                }
            }
        }).show();
    
    
    };

  5. #5
    Ext JS Premium Member
    Join Date
    Oct 2011
    Posts
    1
    Vote Rating
    0
    abydal is on a distinguished road

      0  

    Default Solution / workaround

    Solution / workaround


    The problem seems to occur when the function initEditor is executed too early.
    At least a fix that we have stumbled upon is increasing the delay before this function executes.

    You can either do it by overriding the function intiFrame in Ext.form.HtmlEditor or by just editing right in the ext-base file.

    increasing the delay value on this line
    Code:
    this.initEditor.defer(10, this);
    to something like 100, works in our cases at least.
    Code:
    this.initEditor.defer(100, this);
    My theory is that browsers with a slow js-engine (ie. IE legacy versions or just slow machines) can in some cases lead to that the function executes too early and messes something up.

  6. #6
    Sencha User
    Join Date
    May 2009
    Posts
    29
    Vote Rating
    2
    Antjac is on a distinguished road

      0  

    Default


    Same issue with IE10,the problem still the same with "this.initEditor.defer(100, this);" and the component is in a form...

    Another idea ?

  7. #7
    Sencha User
    Join Date
    May 2009
    Posts
    29
    Vote Rating
    2
    Antjac is on a distinguished road

      0  

    Default


    I give "1000" as Value, until now, i've no problem... wait and see

Similar Threads

  1. Problems using Resizable on an HtmlEditor
    By BulletzBill in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 12 Oct 2010, 6:18 AM
  2. Some problems with htmleditor.
    By xabi in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 11 May 2008, 9:43 PM
  3. Problems with htmleditor
    By dfarias in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 8 Apr 2008, 8:03 PM
  4. Problems with htmlEditor and datagrid
    By maginot in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 30 Jan 2008, 3:25 AM

Thread Participants: 4

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi