新增特性
- 🌟 自定义滚动条,统一不同浏览器下的表现。
- 🌟 滚动内容时目录跟随滚动。
- 🌟 自动折叠过长链接 (#929)。
- 🌟 支持使用 ECharts,语法。
- 🌟 浮动工具栏 (#909),设定与
toolbar一直,默认不展示,文档参考:文档。 - 🌟 不再提供 UMD 版本,示例。
重构
- ⭐️ 移除了添加链接和图片的弹窗。
- ⭐️ 为 codemirror 的扩展提供
type和options,用于区分不同扩展。文档。 - ⭐️ 使用
MdPreview时,移除外层包装元素。 - ⭐️ 为自定义标题 ID 函数提供 tokens (#928)。文档。
修复问题
- 🐞 在禁用时滚动状态仍然可以被切换。
- 🐞 使用 CDN 时无法从
codemirror导入EditorView。
New Features
- 🌟 Custom scrollbar to unify appearance across different browsers.
- 🌟 Catalog scrolls in sync with the content.
- 🌟 Automatically collapse long links(#929).
- 🌟 Support for using ECharts, Syntax.
- 🌟 Floating toolbar (#909), settings are consistent with
toolbar, hidden by default. Documentation. - 🌟 UMD version is no longer provided. Example.
Refactor
- ⭐️ Remove pop-ups for new links and images.
- ⭐️ Provide
typeandoptionsfor codemirror's extensions to use to distinguish between them. Documentation - ⭐️ When using
MdPreview, remove wrapper element. - ⭐️ Provide tokens for func of customizing title IDs(#928). Documentation。
Fixed Bugs
- 🐞 The scroll state can still be toggled when disabled.
- 🐞 Unable to import
EditorViewfromcodemirrorwhen using CDN.