[英]Changing the background-color behind the text in a textarea
如何更改文本區域內文本后面的背景顏色。
Ext.create('Ext.form.FormPanel', {
title : 'Sample TextArea',
width : 400,
bodyPadding: 10,
renderTo : Ext.getBody(),
items: [{
xtype : 'textareafield',
grow : true,
name : 'message',
fieldLabel: 'Message',
anchor : '100%'
}]
});
{
xtype: "textarea",
name: "editor",
value: "",
fieldStyle: "background: #FFFF55 none repeat scroll 0 0 !important;"
}
讓我知道你想要什么
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.