Skip to content

Releases: imzbf/md-editor-v3

v4.11.0

18 Jan 07:01
Compare
Choose a tag to compare

新增特性

重构

  • ⭐️ 恢复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

29 Dec 07:07
Compare
Choose a tag to compare

新增特性:

  • 🌟 支持设置mermaid的属性,#408文档
  • 🌟 属性sanitizeMermaid,支持格式化转换的mermaid代码,#409
  • 🌟 为markdownItConfigmarkdownItPlugins配置新增了editorId入参,#407文档
  • 🌟 升级mermaid@10.6.1highlight.js@11.9.0KaTeX@0.16.9

重构:

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

New Features:

  • 🌟 Support modifying the configuration of mermaid, #408, docs.
  • 🌟 Attribute sanitizeMermaid, convert the generated mermaid code, #409.
  • 🌟 Add parameter editorId to markdownItConfig and markdownItPlugins, #407, docs.
  • 🌟 Upgrade mermaid@10.6.1, highlight.js@11.9.0, KaTeX@0.16.9.

Refactor:

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

v4.9.0

01 Dec 07:06
Compare
Choose a tag to compare

新增特性:

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

修复问题:

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

New Features:

  • 🌟 Provide event onActive for MdCatalog.

Fixed Bugs:

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

v4.8.3

12 Nov 09:43
Compare
Choose a tag to compare

修复问题:

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

Fixed Bugs:

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

v4.8.2

24 Oct 03:04
Compare
Choose a tag to compare

修复问题:

  • 🐞 没有预览区域的时候,编辑区域的滚动条仍然存在。

Fixed Bugs:

  • 🐞 scroller is still here when has no preview area.

v4.8.1

14 Oct 13:11
Compare
Choose a tag to compare

修复问题:

  • 🐞 <!-x-->未在页面中正确展示(#372 )。

Fixed Bugs:

  • 🐞 <!--x--> not displayed correctly(#372 ).

v4.8.0

13 Oct 08:10
Compare
Choose a tag to compare

新增特性:

  • 🌟 拖拽输入框滚动条边缘以调整输入框的宽度(#360 )。
  • 🌟 属性inputBoxWitdh,输入框默认的宽度。
  • 🌟 事件onInputBoxWitdhChange,输入框宽度变化事件。
  • 🌟 下拉菜单特定的类名。
  • 🌟 导出部分内部配置
    import { iconfontClassUrl, iconfontSvgUrl, allToolbar, allFooter, zh_CN, en_US } from 'md-editor-v3';

修复问题:

  • 🐞 移除了代码中的正常的空格(#370 )。

New Features:

  • 🌟 Drag the edge of input box scrollbar to adjust the width of the input box(#360 ).
  • 🌟 Attribute inputBoxWitdh, default width of input box.
  • 🌟 Event onInputBoxWitdhChange, occurs when width of input box has been changed.
  • 🌟 Add special menu class.
  • 🌟 Export more internal configuration
    import { iconfontClassUrl, iconfontSvgUrl, allToolbar, allFooter, zh_CN, en_US } from 'md-editor-v3';

Fixed Bugs:

  • 🐞 Removed legal spaces in code(#370 ).

v4.7.0

25 Sep 12:21
Compare
Choose a tag to compare

新增特性:

  • 🌟 向工具栏组件添加默认的themelanguage属性。

重构:

  • ⭐️ 调整表单的默认间距。

New Features:

  • 🌟 Put default attr theme,language into items in defToolbars.

Refactor:

  • ⭐️ Reset the spacing of form.

v4.6.2

17 Sep 14:27
Compare
Choose a tag to compare

修复问题:

  • 🐞 在使用其他扩展时,有时候获取不到标题内容。
  • 🐞 更新@codemirror/view的6.19.0版本后,出现了对象访问错误(#362 )。

Fixed Bugs:

  • 🐞 When using other extensions, sometimes the title content cannot be obtained.
  • 🐞 After updating version 6.19.0 of @codemirror/view, there was some object access errors(#362 ).

v4.6.1

05 Sep 11:11
Compare
Choose a tag to compare

修复问题:

  • 🐞 没有设置编辑区域的行号,编辑框的最小高度不正确。

Fixed Bugs:

  • 🐞 min-height of editing area is abnormal while there is no line number.