npm md-editor-v3 2.6.0
v2.6.0

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

⭐️ 新增特性:

  • ⭐️ MdEditor.MdCatalog组件新增scrollElementOffsetTop 属性,滚动区域的固定顶部高度(#191 ),默认 0。
  • ⭐️ autoFocus 属性。textarea标签的原生属性,默认false
  • ⭐️ disabled 属性。textarea标签的原生属性,默认false
  • ⭐️ readOnly 属性。textarea标签的原生属性,默认false
  • ⭐️ maxLength 属性。textarea标签的原生属性。
  • ⭐️ autoDetectCode 属性。设置为true后,粘贴来自其他编辑器的代码时会自动标记代码类型(目前仅支持vscode)(#192 ),默 false
  • ⭐️ 挂载实例属性(文档):
    • ⭐️ focus:手动聚焦输入框。

🐞 修复:

  • 🐞 文档:codeStyleReverse属性默认值错误。
  • 🐞 错的mermaid数据未禁用生产自动渲染。

⭐️ New Feature:

  • ⭐️ Component MdEditor.MdCatalog:Prop scrollElementOffsetTop, offsetTop of the scroll container(#191 ),defalut 0.
  • ⭐️ Prop autoFocus, same as autofocus in native textarea, default false.
  • ⭐️ Prop disabled, same as disabled in native textarea, default false.
  • ⭐️ Prop readOnly, same as readonly in native textarea, default false.
  • ⭐️ Prop maxLength, same as maxlength in native textarea.
  • ⭐️ Prop autoDetectCode, auto detect the type of pasted code, only support that copied from vscode(#192 ), default false.
  • ⭐️ Exposed properties(Documentation):
    • ⭐️ focus: focus the textarea manually.

🐞 Fix:

  • 🐞 Document: Wrong default value of prop codeStyleReverse.
  • 🐞 Mermaid was rendering content auto.

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

NewReleases is sending notifications on new releases.