npm md-editor-v3 4.19.0

latest releases: 6.3.0, 6.2.1, 6.2.0...
16 months ago

新增特性

  • 🌟 新增\(\)\[\]作为数学公式模块标识(#462)。
  • 🌟 标记工具栏的状态(#626)。
  • 🌟 支持修改katex的配置(#622).
  • 🌟 输入提示不再包括一级标题。
  • 🌟 更新highlight.js到11.10.0。
  • 🌟 支持在web component使用编辑器(#616), Demo
  • 🌟 当提供了highlight.js实例时,不再支持切换代码的样式(#639)。

重构

  • ⭐️ 插入mermaid内容以后,它会自动被选中。

修复问题

  • 🐞 直接为组件属性赋值时的重新渲染错误(#630)。
  • 🐞 可能有额外的代码行号。
  • 🐞 当滚动时,标题的位置没有完全同步(#634)。
  • 🐞 mermaid 内容的高度不正常(#632)。
  • 🐞 Font Class类型的图标大小不正确。
  • 🐞 切换预览状态后,mermaid内容没有正确渲染。
  • 🐞 在服务端尝试访问了DOM。
  • 🐞 当使用prettier的3.x版本时,无法格式化内容。

New Features

  • 🌟 Marking math expressions with \(\) and \[\](#462).
  • 🌟 Marking the toolbar's status(#626).
  • 🌟 Support modifying the configuration of katex(#622).
  • 🌟 Auto-complete suggestions no longer include h1.
  • 🌟 Upgrade highlight.js to 11.10.0
  • 🌟 Support using in web component(#616), Demo.
  • 🌟 When provided highlight.js instance, switching code styles is no longer supported(#639).

Refactor

  • ⭐️ After inserting mermaid content, it will be automatically selected.

Fixed Bugs

  • 🐞 Re-rendering bug when directly assigning values to components(#630).
  • 🐞 There may be extra code line numbers.
  • 🐞 When scrolling, positions of headers are not fully synchronized(#634).
  • 🐞 mermaid content's height is not normal(#632).
  • 🐞 Iconfont size is not normal.
  • 🐞 After switching preview status, mermaid content is not displayed correctly.
  • 🐞 Attempted to access DOM on server side.
  • 🐞 Unable to format text when using Prettier version 3.x.

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

NewReleases is sending notifications on new releases.