Skip to content

Releases: imzbf/md-editor-v3

v4.13.2

17 Apr 03:20
Compare
Choose a tag to compare

修复问题

  • 🐞 未正确粘贴包含图片语法的内容(#489)。

Fixed Bugs

  • 🐞 The content containing picture syntax was not pasted correctly(#489).

v4.13.1

15 Apr 10:36
Compare
Choose a tag to compare

重构

  • ⭐️ 支持异步转换图片的链接。

Refactor

  • ⭐️ Support for asynchronous conversion of image links.

v4.13.0

07 Apr 13:00
Compare
Choose a tag to compare

新增特性

  • 🌟 以英文翻译为基础,合并不完整的本地化配置。
  • 🌟 编辑模式下提供仅预览模式。
  • 🌟 调用内部操作的触发器: execCommand(#471)。
  • 🌟 转换图片链接的接口: transformImgUrl(#468)。
  • 🌟 调整内置的搜索面板样式(#452)。

New Features

  • 🌟 Merging the missing language settings based on English.
  • 🌟 Preview mode only in edit state.
  • 🌟 Invoke triggers for internal operations: execCommand(#471).
  • 🌟 Api for converting image links: transformImgUrl(#468).
  • 🌟 Adjust search panel style(#452).

v4.12.4

03 Apr 05:11
Compare
Choose a tag to compare

修复问题

  • 🐞 输入拼写类文字时,光标不正常 #474
  • 🐞 单模块时同步滚动报错 #484

Fixed Bugs

  • 🐞 Title symbol followed by typing exhibits abnormal cursor position #474 .
  • 🐞 Synchronous scrolling functionality is malfunctioning #484 .

v4.12.3

29 Mar 04:58
Compare
Choose a tag to compare

修复问题

  • 🐞 多余的调试代码(#474)。
  • 🐞 添加事件监听后,滚动条的位置不正常。
  • 🐞 单行中已存在$时,再输入未正确提示(#478)。

Fixed Bugs

  • 🐞 Remove unnecessary debug code(#474).
  • 🐞 After adding event listener, the initial scrollbar position is abnormal.
  • 🐞 In a line where sign $ already exists, further input will not trigger suggestions(#478).

v4.12.2

21 Mar 08:25
Compare
Choose a tag to compare

修复问题

  • 🐞 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

04 Mar 16:56
Compare
Choose a tag to compare

修复问题

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

Fixed Bugs

  • 🐞 Get document is not defined in nuxt3.

v4.12.0

04 Mar 08:25
Compare
Choose a tag to compare

新增特性

  • 🌟 为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

22 Feb 06:38
Compare
Choose a tag to compare

修复问题

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

Fixed Bugs

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

v4.11.2

04 Feb 08:56
Compare
Choose a tag to compare

修复问题

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

Fixed Bugs

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