Md Editor V3 Versions Save

Markdown editor for vue3, developed in jsx and typescript, dark theme、beautify content by prettier、render articles directly、paste or clip the picture and upload it...

v4.12.2

2 months ago

修复问题

  • 🐞 UMD模块在生产环境报错(#475 )。
  • 🐞 两位数及以上的列表序号显示不完全,现在默认显示三位数,超过请自行调整样式(#477 )。

Fixed Bugs

  • 🐞 In production environments, errors occur with UMD module(#475 ).
  • 🐞 For two-digit and above list item numbers that are not fully displayed, currently they default to showing three-digit numbers; for longer numbers, please manually adjust the style accordingly(#477 ).

v4.12.1

2 months ago

修复问题

  • 🐞 在nuxt3中使用报document is not defined错。

Fixed Bugs

  • 🐞 Get document is not defined in nuxt3.

v4.12.0

2 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).

v4.11.3

3 months ago

修复问题

  • 🐞 预览图片存在多层遮罩层(#460 )。
  • 🐞 XSS漏洞处理(#453 )。

Fixed Bugs

  • 🐞 Multiple mask layers appear during image preview(#460 ).
  • 🐞 XSS for content(#453 ).

v4.11.2

3 months ago

修复问题

  • 🐞 预览图片存在多层遮罩层(#451 )。
  • 🐞 主题vuepress和cyanosis的标题颜色不正常(#450 )。

Fixed Bugs

  • 🐞 Multiple mask layers appear during image preview(#451).
  • 🐞 vuepress and cyanosis theme titles have incorrect colors(#450 ).

v4.11.1

3 months ago

重构

  • ⭐️ 优化同步滚动算法(#418)(#434)。

Refactor

  • ⭐️ Optimizing synchronous scrolling algorithm(#418)(#434).

v4.11.0

4 months ago

新增特性

  • 🌟 暴露方法rerender来重新渲染内容。
  • 🌟 暴露方法getSelectedText来获取选中的内容(#425 )。
  • 🌟 暴露方法resetHistory来清空输入历史(#427 )。

重构

  • ⭐️ 恢复highlight.js默认的版本为11.8.0(#421 )。
  • ⭐️ 总是触发vue的所有监听事件(#429 )。
  • ⭐️ 使用<div>标签替代<aritcle>标签。

修复问题

  • 🐞 插入内容是将select设置为false还是会自动选中内容(#428 )。

New Features

Refactor

  • ⭐️ Rollback highlight.js version to 11.8.0(#421 ).
  • ⭐️ Always trigger events for vue(#429 ).
  • ⭐️ Replace <article> tag with <div> tag.

Fixed Bugs

  • 🐞 Setting select to false when inserting content does not take effect(#428 ).

v4.10.0

5 months ago

新增特性:

重构:

  • ⭐️ 为insert方法设置了某些默认值,文档

New Features:

Refactor:

  • ⭐️ Set certain default values for the method of inserting content, docs.

v4.9.0

6 months ago

新增特性:

  • 🌟 向组件MdCatalog添加onActive事件。

修复问题:

  • 🐞 点击目录滚动后,多次切换文档操作会导致目录内容不更新(#397 )

New Features:

  • 🌟 Provide event onActive for MdCatalog.

Fixed Bugs:

  • 🐞 When switching documents, the catalog was not updated(#397 )

v4.8.3

6 months ago

修复问题:

  • 🐞 未正确支持自定义代码的配置(#383 )

Fixed Bugs:

  • 🐞 Custom configuration of code is not supported(#383 )