Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/363.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript EXTJS Textarea中是否可能有粗体文本?_Javascript_Extjs - Fatal编程技术网

Javascript EXTJS Textarea中是否可能有粗体文本?

Javascript EXTJS Textarea中是否可能有粗体文本?,javascript,extjs,Javascript,Extjs,不知道我是否可以加粗文本,可能还有图标 我在EXTJS的v3.2.1上。感谢您在这件事上的帮助。将css类添加为 <style type="text/css"> .bc-tenant textarea { font-weight: bold; } </style> 哈!真不敢相信我把他们都难倒了!你在说什么样的文本区?你是说Ext.form.TextArea吗?还是别的什么? new Ext.FormPanel({

不知道我是否可以加粗文本,可能还有图标

我在EXTJS的v3.2.1上。感谢您在这件事上的帮助。

将css类添加为

 <style type="text/css">
  .bc-tenant textarea {
    font-weight: bold;
}
    </style>

哈!真不敢相信我把他们都难倒了!你在说什么样的文本区?你是说Ext.form.TextArea吗?还是别的什么?
new Ext.FormPanel({
                height: 100,
                renderTo: Ext.getBody(),
                items: [{
                    xtype: 'textarea',
                    fieldLabel: 'Name',
                    itemCls: 'bc-tenant'
                }]
            });