1. #1
    Sencha User wasp's Avatar
    Join Date
    Nov 2007
    Posts
    29
    Vote Rating
    0
    wasp is on a distinguished road

      0  

    Default Issues with Ext.form.HtmlEditor :(

    Issues with Ext.form.HtmlEditor :(


    No matter what I try, I always get vertical scrollbar in html editor field, and empty ( ' ' ) character inside.

    I'm using Ext 2.2.1, here's the example code I'm using, it's pretty simple:

    Code:
    Ext.onReady(function(){
    
    	var content = new Ext.form.FormPanel({
            frame: true,
            plain: true,
            bodyStyle: 'padding: 5px;',
            border: false,
            labelAlign: 'top',
            items: [
                {
    				xtype: 'htmleditor',
    				value: '',
    				enableAlignments: false,
    				labelStyle: 'font-size: 10px;',
    				fieldLabel: 'Message',
    				anchor: '100% -20'
    			}
            ]
        })
    
        var win = new Ext.Window({
            title: 'Example',
            closable:true,
            width:500,
            height:250,
            plain:true,
            border: false,
            layout: 'fit',
            items: [content],
            buttons: [
    	        {
    	            text: 'Confirm'
                }
            ]
        });
    
        win.show(this);
    
    });
    Screenshot can be seen here:


  2. #2
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,337
    Vote Rating
    75
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Wasp, waht browser and os?

  3. #3
    Ext User soze's Avatar
    Join Date
    Mar 2008
    Location
    UK
    Posts
    108
    Vote Rating
    0
    soze is on a distinguished road

      0  

    Default


    I don't think it matters the browser because I get it in both IE6, IE7 and Firefox. I have seen a workaround somewhere. Something to do with the <br>. I don't get the scroll bar though.

  4. #4
    Sencha User wasp's Avatar
    Join Date
    Nov 2007
    Posts
    29
    Vote Rating
    0
    wasp is on a distinguished road

      0  

    Default


    Does have scrollbar on:

    OS: Slackware Linux, Ubuntu, WinXP Pro
    Browser: Mozilla Firefox 3.0.5 and 3.0.6 have this problem

    On Google Chrome (latest beta I think), WinXP Pro there is NO scrollbar.

    Could not test on IE7 ... some crap about 'style is null or not an object' ... that's somewhere in ext ...

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar