Skip to content

Releases: imzbf/md-editor-rt

v4.13.0

07 Apr 13:03
Compare
Choose a tag to compare

新增特性

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

修复问题

  • 🐞 在Next.js中,获取默认的editorId不一致(#144)。

New Features

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

Fixed Bugs

  • 🐞 In Next.js, obtaining inconsistent default editorId(#144).

v4.12.4

03 Apr 05:12
Compare
Choose a tag to compare

修复问题

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

Fixed Bugs

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

v4.12.3

29 Mar 05:00
Compare
Choose a tag to compare

修复问题

  • 🐞 在nextjs中,组件Dropdown提示'Each child in a list should have a unique "key" prop'(#139)。
  • 🐞 单行中已存在$时,再输入未正确提示。

Fixed Bugs

  • 🐞 Dropdown throws an error stating "Each child in a list should have a unique 'key' prop"(#139).
  • 🐞 In a line where sign $ already exists, further input will not trigger suggestions.

v4.12.2

21 Mar 08:24
Compare
Choose a tag to compare

修复问题

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

Fixed Bugs

  • 🐞 In production environments, errors occur with UMD module.
  • 🐞 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.

v4.12.1

04 Mar 16:57
Compare
Choose a tag to compare

修复问题

  • 🐞 在nuxt3中使用报document is not defined错。
  • 🐞 全屏功能异常。

Fixed Bugs

  • 🐞 Fullscreen functionality is not working properly.

v4.12.0

04 Mar 08:26
Compare
Choose a tag to compare

新增特性

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

重构

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

修复问题

  • 🐞 未允许嵌入视频代码。

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

Fixed Bugs

  • 🐞 Not allowed to embed video code.

v4.11.3

22 Feb 06:40
Compare
Choose a tag to compare

修复问题

  • 🐞 XSS漏洞处理。

Fixed Bugs

  • 🐞 XSS for content.

v4.11.2

04 Feb 08:56
Compare
Choose a tag to compare

修复问题

  • 🐞 主题vuepress和cyanosis的标题颜色不正常。

Fixed Bugs

  • 🐞 vuepress and cyanosis theme titles have incorrect colors.

v4.11.1

02 Feb 04:04
Compare
Choose a tag to compare

重构

  • ⭐️ 优化同步滚动算法。

Refactor

  • ⭐️ Optimizing synchronous scrolling algorithm.

v4.11.0

18 Jan 07:06
Compare
Choose a tag to compare

新增特性

重构

  • ⭐️ 恢复highlight.js默认的版本为11.8.0
  • ⭐️ 使用<div>标签替代<aritcle>标签。

修复问题

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

New Features

Refactor

  • ⭐️ Rollback highlight.js version to 11.8.0.
  • ⭐️ Replace <article> tag with <div> tag.

Fixed Bugs

  • 🐞 Setting select to false when inserting content does not take effect.