Bricks Schema 中文文档:编辑器控件

📄 原始资料  |  展开查看原始 JSON(editor.json){ “$schema”: “https://json-schema.org/draft/2020-12/schema”, “$id”: “bricks://controls/editor”, “schemaVersion”: “2.3”, “title”: “Editor Control”, “description”: “Rich text/HTML content”, “type”: “string”, “controlProperties”: [ “type”, “tab”, “default”, …

📄 原始资料  |  展开查看原始 JSON(editor.json)
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "bricks://controls/editor",
  "schemaVersion": "2.3",
  "title": "Editor Control",
  "description": "Rich text/HTML content",
  "type": "string",
  "controlProperties": [
    "type",
    "tab",
    "default",
    "group"
  ],
  "titleZh": "编辑器控件",
  "descriptionZh": "富文本/HTML 内容。"
}

前言

富文本/HTML 内容。

基本信息

  • 英文名称Editor Control
  • 中文名称:编辑器控件
  • Schema IDbricks://controls/editor
  • Schema 版本2.3
  • 类型string

Schema 定义

完整 JSON 定义

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "bricks://controls/editor",
  "schemaVersion": "2.3",
  "title": "Editor Control",
  "description": "Rich text/HTML content",
  "type": "string",
  "controlProperties": [
    "type",
    "tab",
    "default",
    "group"
  ],
  "titleZh": "编辑器控件",
  "descriptionZh": "富文本/HTML 内容。"
}

补充说明

更多细节可参考 Bricks 官方 Academy 文档