/* tslint:disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export interface Editor { /** * 设置编辑器为只读 */ "read-only"?: boolean; /** * 提示信息 */ placeholder?: string; /** * 点击图片时显示图片大小控件 */ "show-img-size"?: boolean; /** * 点击图片时显示工具栏控件 */ "show-img-toolbar"?: boolean; /** * 点击图片时显示修改尺寸控件 */ "show-img-resize"?: boolean; /** * 编辑器初始化完成时触发 */ bindReady?: () => void; /** * 编辑器聚焦时触发,event.detail = {html, text, delta} */ bindFocus?: () => void; /** * 编辑器失去焦点时触发,detail = {html, text, delta} */ bindBlur?: () => void; /** * 编辑器内容改变时触发,detail = {html, text, delta} */ bindInput?: () => void; /** * 通过 Context 方法改变编辑器内样式时触发,返回选区已设置的样式 */ bindStatusChange?: () => void; }