{
  "title": "editor",
  "type": "object",
  "properties": {
    "read-only": {
      "type": "boolean",
      "description": "设置编辑器为只读",
      "defaultValue": false
    },
    "placeholder": {
      "type": "string",
      "description": "提示信息"
    },
    "show-img-size": {
      "type": "boolean",
      "description": "点击图片时显示图片大小控件",
      "defaultValue": false
    },
    "show-img-toolbar": {
      "type": "boolean",
      "description": "点击图片时显示工具栏控件",
      "defaultValue": false
    },
    "show-img-resize": {
      "type": "boolean",
      "description": "点击图片时显示修改尺寸控件",
      "defaultValue": false
    },
    "bindReady": {
      "tsType": "() => void",
      "description": "编辑器初始化完成时触发"
    },
    "bindFocus": {
      "tsType": "() => void",
      "description": "编辑器聚焦时触发，event.detail = {html, text, delta}"
    },
    "bindBlur": {
      "tsType": "() => void",
      "description": "编辑器失去焦点时触发，detail = {html, text, delta}"
    },
    "bindInput": {
      "tsType": "() => void",
      "description": "编辑器内容改变时触发，detail = {html, text, delta}"
    },
    "bindStatusChange": {
      "tsType": "() => void",
      "description": "通过 Context 方法改变编辑器内样式时触发，返回选区已设置的样式"
    }
  },
  "additionalProperties": false
}