v3.7.5

Vanessa219/vditorv3.7.5Jan 6, 2021by Vanessa219

AI Summary

Improves toolbar customization, outline positioning, and upload handling capabilities.

Key Highlights

  • Adds outline position configuration (left or right)
  • Updates toolbar click event parameters
  • Supports await for file upload options

Breaking Changes

  • options.outline structure changed to { enable: boolean, position: string }
  • toolbar.click parameter changed to include event: Event

New Features

  • Outline position configuration

Full Release Notes

* [884](https://github.com/Vanessa219/vditor/issues/884) 工具栏自定义按钮禁用 `改进功能`
* [877](https://github.com/Vanessa219/vditor/issues/877) 数学公式输入删除生成节点 `修复缺陷`
* [882](https://github.com/Vanessa219/vditor/issues/882) 改进 HTML 转换 Markdown 时加粗、斜体等空格的处理 `改进功能`
* [878](https://github.com/Vanessa219/vditor/issues/878) 移除列表标记符中文优化 `改进功能`
* [875](https://github.com/Vanessa219/vditor/issues/875) 增加大纲位置配置 `引入特性`
* [873](https://github.com/Vanessa219/vditor/issues/873) graphviz,mermaid 在为空时不应出现错误提示 `改进功能`
* [872](https://github.com/Vanessa219/vditor/issues/872) vditor.options.upload.file 支持 await `改进功能`
* 文档修改
  * 3.7.5
    * `options.outline` 修改为 `{ enable: boolean, position: "left" | "right" }` 
    * `toolbar.click` 参数修改为 `event: Event, vditor: IVditor`