My:editor-textarea

出自Manyou开发者指南

跳转到: 导航, 搜索

描述

创建一个 <textarea> 文本框。本标签必须为 my:editor 标签的子标签。


属性

必选性参数名类型描述
可选 label string 显示在文本框左边的文字
name string 文本框 name 属性的值。
rows int 文本框的高度,以文字的行数来表示,与 HTML 中的 textarea 标签相同。


范例

<my:editor> <my:editor-textarea /> </my:editor>
Image:MYML_EditorTextarea1.jpg


<my:editor> <my:editor-textarea label="评论" /> </my:editor>
Image:MYML_EditorTextarea2.jpg


<my:editor> <my:editor-textarea> 您也可以在这里设定文本框的默认值。 </my:editor-textarea> <my:editor>
Image:MYML_EditorTextarea3.jpg
个人工具
接口文档