插件类

Theme

对整个Editor样式的定义

字段名 类型 描述
editorBackground string 编辑区背景色
tabContainerBackground string 选项框背景色
menuBackground string 菜单背景色
editorFont string 编辑区字体
tabContainerFont string 选项框字体
menuFont string 菜单字体
menuIco object 菜单栏图标

Widget

Widget用于在工具栏中添加小插件

  • 插件信息(插件名、插件图标)
  • 插件类型(applicationmenu contextmenu)
  • 插件事件
字段名 类型 描述
name string 名称
ico string 图标
menuType object AppliationMenu或者ContextMenu