v3.11.0

FerrisMind/omnivoice-rsv3.11.0Apr 9, 2025by Vanessa219

AI Summary

This version upgrades Mermaid to version 11.6.0 and introduces new callbacks for upload cancellation and unselection. It also fixes UI alignment issues and refines the behavior of the copy button and initialization destruction.

Key Highlights

  • Upgraded Mermaid to 11.6.0.
  • Added options.upload.cancel callback.
  • Fixed code line number alignment.
  • Prevented edit area expansion when clicking the copy button.

New Features

  • Mermaid 11.6.0 upgrade.
  • Upload cancel callback.
  • Unselect callback.
  • Line number alignment fix.
  • Copy button UX improvement.

Full Release Notes

* [添加 `options.upload.cancel` 回调](https://github.com/Vanessa219/vditor/issues/1791) `引入特性`
* [修复代码行号对不齐](https://github.com/Vanessa219/vditor/issues/1786) `修复缺陷`
* [mermaid 升级至 11.6.0](https://github.com/Vanessa219/vditor/issues/1140) `开发重构`
* [初始化后立即 `destroy` 不再进行 `after` 的回调](https://github.com/Vanessa219/vditor/issues/1790) `改进功能`
* [点击复制按钮不展开编辑区域](https://github.com/Vanessa219/vditor/issues/1768) `改进功能`
* [添加 `unSelect` 回调](https://github.com/Vanessa219/vditor/pull/1775) `改进功能`