My:editor-custom

出自Manyou开发者指南

跳转到: 导航, 搜索

目录

描述

您可以将任何符合 MYML 规范的内容放入本标签内。本标签必须作为 my:editor 标签的子标签。


属性

必选性参数名类型描述
可选 label string 显示在内容左边的文字


范例

这个例子将显示一个下拉菜单:

<my:editor> <my:editor-custom label="状态"> <select name="state"> <option value="0" selected>已阅读过</option> <option value="1">正在阅读</option> <option value="2">很想阅读</option> </select> </my:editor-custom> </my:editor>

您同样也可以将文字放入表单中: <my:editor> <my:editor-custom> 这里是放在表单中的文字。 </my:editor-custom> <my:editor>
Image:MYML_EditorCustom.jpg


说明

  • 此标签不支持密码类型的表单。
个人工具
接口文档