1. #1
    Ext User
    Join Date
    Dec 2009
    Posts
    1
    Vote Rating
    0
    atimukt_jain is on a distinguished road

      0  

    Default HtmlEditor toolbar hide problem

    HtmlEditor toolbar hide problem


    Hi All,

    When i hide the toolbar of the HtmlEditor, still the space, where the toobar was, remains occupied as blank space in IE.

    But in Firefox the space becomes available for wrting but not in IE.

    PFA the image HtmlEditor.jpg

    Can anyone help me in that ?
    Attached Images

  2. #2
    Sencha User nickbretz's Avatar
    Join Date
    Jul 2011
    Location
    Kansas City, MO
    Posts
    12
    Vote Rating
    3
    nickbretz is on a distinguished road

      1  

    Default


    Here is a simple example to show how you can get around this issue in IE7/8

    Code:
    new Ext.form.HtmlEditor({
        renderTo: Ext.getBody(),
        width: 800,
        height: 300,
        listeners: {
            afterrender: function(editor) {
                var toolbar = editor.getToolbar();
                toolbar.hideParent = true;
                toolbar.hide();
            }
        }
    });

Thread Participants: 1