npm md-editor-v3 2.8.0
v2.8.0

latest releases: 6.3.1, 6.3.0, 6.2.1...
2 years ago

⭐️ 新增:

  • ⭐️ alert模块支持不输入标题。
  • ⭐️ 提供headingId作为配置标题方法的第六入参(通过props.markedHeadingId生成,用于解决不同编辑器的markedHeadingId和公共配置优先级问题)。

🌟 重构:

  • 🌟 移除工具栏模块在仅预览时多余的判断逻辑。
  • 🌟 内容中公共模块(katexmermaidalert)样式移动到公共库@vavt/markdown-theme
  • 🌟 所有主题均不再隐藏复制代码按钮。

🐞 修复:

  • 🐞 输入内容时提示TypeError: textarea is undefined (#206 )。
  • 🐞 方法类型的props默认值设置错误。
  • 🐞 mermaid内容在某些主题下文字下沉。

⭐️ New Feature:

  • ⭐️ Support to render alert module without title.
  • ⭐️ Provide headingId as the sixth parameter to configure heading.

🌟 Refactor:

  • 🌟 Remove useless logic that check status 'previewOnly' in Toolbar.
  • 🌟 Move style of common modules to @vavt/markdown-theme.
  • 🌟 The Copy Code button is no longer hidden for all themes.

🐞 Fix:

  • 🐞 Got 'TypeError: textarea is undefined' when typing text (#206 ).
  • 🐞 Correct default value of type Function.
  • 🐞 The text display error in module mermaid.

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

NewReleases is sending notifications on new releases.