npm md-editor-v3 6.0.0

latest releases: 6.2.1, 6.2.0, 6.1.1...
3 months ago

新增特性

  • 🌟 自定义滚动条,统一不同浏览器下的表现。
  • 🌟 滚动内容时目录跟随滚动。
  • 🌟 自动折叠过长链接 (#929)。
  • 🌟 支持使用 ECharts,语法
  • 🌟 浮动工具栏 (#909),设定与 toolbar 一直,默认不展示,文档参考:文档
  • 🌟 不再提供 UMD 版本,示例

重构

  • ⭐️ 移除了添加链接和图片的弹窗。
  • ⭐️ 为 codemirror 的扩展提供 typeoptions,用于区分不同扩展。文档
  • ⭐️ 使用 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 type and options for 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 EditorView from codemirror when using CDN.

Don't miss a new md-editor-v3 release

NewReleases is sending notifications on new releases.