Skip to content

Releases: imzbf/md-editor-v3

v4.20.2

20 Sep 06:18
Compare
Choose a tag to compare

修复问题

  • 🐞 当主题被设置为dark时,目录的位置不正常(#673)。

Fixed Bugs

  • 🐞 When setting theme to dark, the position of catalog is abnormal(#673).

v4.20.1

10 Sep 07:44
Compare
Choose a tag to compare

修复问题

  • 🐞 合并配置时未设置深度。

Fixed Bugs

  • 🐞 Depth is not set when configuring merge.

v4.20.0

06 Sep 02:02
Compare
Choose a tag to compare

新增特性

  • 🌟 暴露获取EditorView的方法:getEditorView
  • 🌟 给codeMirrorExtensions提供editorId入参。

重构

  • ⭐️ 替换语法:<sub> 替换为 ~~, and <sup> 替换为 ^^

修复问题

  • 🐞 组件在切换预览状态时可能会闪烁。
  • 🐞 无法正确获取包含katex模块的标题内容(#658)。

文档


New Features

  • 🌟 Expose the method used to obtain EditorView: getEditorView.
  • 🌟 Provide editorId parameter for codeMirrorExtensions.

Refactor

  • ⭐️ Replace the syntax: <sub> with ~~, and <sup> with ^^

Fixed Bugs

  • 🐞 Component might flicker when switching preview states.
  • 🐞 Failed to obtain the title containing katex module correctly(#658).

Docs

  • 🌟 Add an example of collaborative working: co-working

v4.19.2

28 Aug 08:50
Compare
Choose a tag to compare

新增特性

  • 🌟 mermaid模块现在可以缩放了(#644)。

修复问题

  • 🐞 自定义快捷键后,Tab快捷键失效(#650)。
  • 🐞 mermaid模块的宽度在移动端的时候不正常。

New Features

  • 🌟 mermaid module can be scaled(#644).

Fixed Bugs

  • 🐞 After customizing shortcuts, Tab key no longer works(#650).
  • 🐞 Width of mermaid module on mobile devices is not normal.

v4.19.1

19 Aug 11:50
Compare
Choose a tag to compare

修复问题

  • 🐞 最外层滚动时,无法高亮目录。
  • 🐞 在Firefox中,代码行号位置不正常(#633)。

Fixed Bugs

  • 🐞 Unable to highlight catalog when scrolling on window.
  • 🐞 In Firefox, the position of code line numbers is incorrect(#633).

v4.19.0

19 Aug 09:39
Compare
Choose a tag to compare

新增特性

  • 🌟 新增\(\)\[\]作为数学公式模块标识(#462)。
  • 🌟 标记工具栏的状态(#626)。
  • 🌟 支持修改katex的配置(#622).
  • 🌟 输入提示不再包括一级标题。
  • 🌟 更新highlight.js到11.10.0。
  • 🌟 支持在web component使用编辑器(#616), Demo
  • 🌟 当提供了highlight.js实例时,不再支持切换代码的样式(#639)。

重构

  • ⭐️ 插入mermaid内容以后,它会自动被选中。

修复问题

  • 🐞 直接为组件属性赋值时的重新渲染错误(#630)。
  • 🐞 可能有额外的代码行号。
  • 🐞 当滚动时,标题的位置没有完全同步(#634)。
  • 🐞 mermaid 内容的高度不正常(#632)。
  • 🐞 Font Class类型的图标大小不正确。
  • 🐞 切换预览状态后,mermaid内容没有正确渲染。
  • 🐞 在服务端尝试访问了DOM。
  • 🐞 当使用prettier的3.x版本时,无法格式化内容。

New Features

  • 🌟 Marking math expressions with \(\) and \[\](#462).
  • 🌟 Marking the toolbar's status(#626).
  • 🌟 Support modifying the configuration of katex(#622).
  • 🌟 Auto-complete suggestions no longer include h1.
  • 🌟 Upgrade highlight.js to 11.10.0
  • 🌟 Support using in web component(#616), Demo.
  • 🌟 When provided highlight.js instance, switching code styles is no longer supported(#639).

Refactor

  • ⭐️ After inserting mermaid content, it will be automatically selected.

Fixed Bugs

  • 🐞 Re-rendering bug when directly assigning values to components(#630).
  • 🐞 There may be extra code line numbers.
  • 🐞 When scrolling, positions of headers are not fully synchronized(#634).
  • 🐞 mermaid content's height is not normal(#632).
  • 🐞 Iconfont size is not normal.
  • 🐞 After switching preview status, mermaid content is not displayed correctly.
  • 🐞 Attempted to access DOM on server side.
  • 🐞 Unable to format text when using Prettier version 3.x.

v4.18.1

12 Aug 07:00
Compare
Choose a tag to compare

修复问题

  • 🐞 内容预览区域可能会抖动(#619)。
  • 🐞 placeholder内容过长时,光标高度不正常(#617)。

Fixed Bugs

  • 🐞 The preview area may shake(#619).
  • 🐞 When placeholder text is long, cursor line height is incorrect(#617).

v4.18.0

05 Aug 03:39
Compare
Choose a tag to compare

新增特性

  • 🌟 单击任务可以切换其状态(#609),示例

修复问题

  • 🐞 cyanosis主题下的任务列表永远是选中状态。

New Features

  • 🌟 Clicking a task can toggle its status(#609), demo.

Fixed Bugs

  • 🐞 Task list in cyanosis theme is always in a checked state.

v4.17.4

19 Jul 02:52
Compare
Choose a tag to compare

修复问题

  • 🐞 使用实验功能导致某些事件失效(#589)。
  • 🐞 放大图片事件可能会冲突。

Fixed Bugs

  • 🐞 Using experimental features causes certain events to become ineffective(#589).
  • 🐞 Zoom image event conflict.

v4.17.3

05 Jul 07:25
Compare
Choose a tag to compare

修复问题

  • 🐞 同步滚动时内容区域可能会抖动。

Fixed Bugs

  • 🐞 Content area may shake when synchronizing scrolling.