v3.11.0

langgenius/difyv3.11.0Apr 9, 2025by Vanessa219

AI Summary

A release focusing on the rich text editor component (Vditor), featuring UI/UX improvements, bug fixes, and an upgrade to the Mermaid diagram library.

Key Highlights

  • Added `options.upload.cancel` callback to handle upload cancellation events.
  • Fixed code line number alignment issues in the editor.
  • Upgraded Mermaid to version 11.6.0.
  • Fixed copy button behavior to prevent the edit area from expanding when clicked.
  • Added `unSelect` callback to handle selection events.

New Features

  • Added `options.upload.cancel` callback.
  • Added `unSelect` callback.

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) `改进功能`