1. #1
    Sencha User
    Join Date
    Dec 2009
    Posts
    363
    Vote Rating
    2
    raj_plays is on a distinguished road

      0  

    Default html in textarea?

    html in textarea?


    Hi,
    I have a form with a textarea.
    I set the value of this textarea to a string which contains HTML tags but it doesn't output the HTML. It shows plain text.
    Code:
    {xtype: 'textarea', id: 'bio', allowBlank: false, fieldLabel: 'Bio', width: 400, height: 300}
    ........
    Ext.getCmp('bio').setValue(htmlString);
    Help please

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,332
    Vote Rating
    83
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default use htmleditor

    use htmleditor


    Hi,

    You can use htmleditor like a textarea
    http://docs.sencha.com/ext-js/3-4/#!/api/Ext.form.HtmlEditor


    Regards
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User
    Join Date
    Dec 2009
    Posts
    363
    Vote Rating
    2
    raj_plays is on a distinguished road

      0  

    Default


    Thank you, sword-it.
    That worked!!

Thread Participants: 1

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