npm md-editor-v3 4.12.0

latest releases: 6.3.1, 6.3.0, 6.2.1...
22 months ago

新增特性

  • 🌟 为editorId设置不同的默认值(现在存在多个编辑器不需要手动设置该属性,但是使用目录组件时仍然需要相同)。
  • 🌟 暴露方法domEventHandlers来监听全部的dom事件(#446)。
  • 🌟 上传图片事件onUploadImg现在支持回显alttitle属性了,使用示例

重构

  • ⭐️ 切换预览状态时,从页面上移除dom。
  • ⭐️ 将组件Modal渲染到document.body中去(#437)。

修复问题

  • 🐞 未允许嵌入视频代码 (#463)。
  • 🐞 指令v-model的触发时机不正确(#455)。

New Features

  • 🌟 Generate different default values for attribute editorId(Now there exist multiple editors that do not require manual setting of this property, however, when using component MdCatalog, such configuration is still necessary.).
  • 🌟 Expose domEventHandlers for adding handlers for all DOM events(#446).
  • 🌟 The onUploadImg event for uploading images now supports displaying the alt and title attributes after upload. Refer to the example

Refactor

  • ⭐️ Remove dom when switching preview state.
  • ⭐️ Render component Modal to document.body(#437).

Fixed Bugs

  • 🐞 Not allowed to embed video code (#463).
  • 🐞 The trigger timing of directive v-model is incorrect(#455).

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

NewReleases is sending notifications on new releases.