Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Dec 14, 2025

This PR contains the following updates:

Package Change Age Confidence
md-editor-v3 (source) ^4.21.3 -> ^6.0.0 age confidence

Release Notes

imzbf/md-editor-v3 (md-editor-v3)

v6.2.1

Compare Source

新功能

  • 🌟 支持自定义查找需要缩短显示的文本。文档

修复Bug

  • 🐞 存在Safari 15不兼容的正则(#​986)。

New Features

  • 🌟 Supports customizing the detection of text that requires truncated display. Docs

Fixed Bugs

  • 🐞 Incompatible regex with Safari 15(#​986).

v6.2.0

Compare Source

新功能

  • 🌟 完全控制内容的呈现方式。文档

重构

  • ⭐️ 重构KatexPlugin以统一块和内联数学公式解析。
  • ⭐️ 将动画添加到浮动工具栏并减少不必要的渲染。
  • ⭐️ 优化组件之间的价值传递机制。

修复Bug

  • 🐞 未正确处理noEcharts属性(#​981)。

New Features

  • 🌟 Full control over how content is rendered. Docs

Refactor

  • ⭐️ Refactor KatexPlugin to unify block and inline math parsing.
  • ⭐️ Add animations to floating toolbar and reduce unnecessary rendering.
  • ⭐️ optimize value-passing mechanism between components.

Fixed Bugs

  • 🐞 The property noEcharts is not being handled correctly(#​981).

v6.1.1

Compare Source

重构

  • ⭐️ 按需更新内容的功能重构(#​974)。
  • ⭐️ 单击可以显示折叠文本。

修复问题

  • 🐞 当noPrettier的值为false时,应呈现标签`ToolbarPrettier'。
  • 🐞 目录项未在设置catalogMaxDepth时高亮显示(#​971)。

Refactor

  • ⭐️ Refactor the functionality for on-demand updating of content(#​974).
  • ⭐️ Folded text can be revealed when clicked.

Fixed Bugs

  • 🐞 When the value of noPrettier is false, label ToolbarPrettier should be rendered.
  • 🐞 Where catalog items are not highlighted under catalogMaxDepth limit(#​971).

v6.1.0

Compare Source

新增特性

  • 🌟 支持复制mermaid模块代码。

修复问题

  • 🐞 添加链接时,选中的内容没有正确包含进去(#​959)。
  • 🐞编辑器的主题扩展没有正确设定(#​959)。

New Features

  • 🌟 Supports copying the code of mermaid module.

Fixed Bugs

  • 🐞 Selected content is not included when adding links(#​959).
  • 🐞 Editor theme extension not set correctly(#​959).

v6.0.1

Compare Source

修复问题

  • 🐞 无法正确切换预览状态(#​949)。
  • 🐞 未正确定义按钮类型,导致点击工具栏会提交表单。

Fixed Bugs

  • 🐞 Unable to correctly toggle preview state (#​949).
  • 🐞 Button type not properly defined, causing form submission when clicking the toolbar.

v6.0.0

Compare Source

新增特性

  • 🌟 自定义滚动条,统一不同浏览器下的表现。
  • 🌟 滚动内容时目录跟随滚动。
  • 🌟 自动折叠过长链接 (#​929)。
  • 🌟 支持使用 ECharts,语法
  • 🌟 浮动工具栏 (#​909),设定与 toolbar 一直,默认不展示,文档参考:文档
  • 🌟 不再提供 UMD 版本,示例

重构

  • ⭐️ 移除了添加链接和图片的弹窗。
  • ⭐️ 为 codemirror 的扩展提供 typeoptions,用于区分不同扩展。文档
  • ⭐️ 使用 MdPreview 时,移除外层包装元素。
  • ⭐️ 为自定义标题 ID 函数提供 tokens (#​928)。文档

修复问题

  • 🐞 在禁用时滚动状态仍然可以被切换。
  • 🐞 使用 CDN 时无法从 codemirror 导入 EditorView

New Features

  • 🌟 Custom scrollbar to unify appearance across different browsers.
  • 🌟 Catalog scrolls in sync with the content.
  • 🌟 Automatically collapse long links(#​929).
  • 🌟 Support for using ECharts, Syntax.
  • 🌟 Floating toolbar (#​909), settings are consistent with toolbar, hidden by default. Documentation.
  • 🌟 UMD version is no longer provided. Example.

Refactor

  • ⭐️ Remove pop-ups for new links and images.
  • ⭐️ Provide type and options for codemirror's extensions to use to distinguish between them. Documentation
  • ⭐️ When using MdPreview, remove wrapper element.
  • ⭐️ Provide tokens for func of customizing title IDs(#​928). Documentation

Fixed Bugs

  • 🐞 The scroll state can still be toggled when disabled.
  • 🐞 Unable to import EditorView from codemirror when using CDN.

v5.8.5

Compare Source

修复问题

  • 🐞 先后选择同一张图片裁剪图片功能失效(#​945

Fixed Bugs

  • 🐞 The image cropping function fails when the same image is selected twice in succession(#​945).

v5.8.4

Compare Source

修复问题

  • 🐞 网格布局中存在1rf编码错误(#​921)。

Fixed Bugs

  • 🐞 There is a 1rf encoding error in the grid layout(#​921).

v5.8.3

Compare Source

重构

  • ⭐️ 总是显示mermaid代码,不渲染没有闭合的mermaid模块(#​901)。

修复问题

  • 🐞 目录被代码块头部遮挡(#​917)。
  • 🐞 代码块存在跨站脚本攻击问题。

Refactor

  • ⭐️ Always display mermaid code, do not render any unclosed mermaid block(#​901).

Fixed Bugs

  • 🐞 Catalog is obscured by header of code block(#​917).
  • 🐞 XSS issues present in code blocks.

v5.8.2

Compare Source

修复问题

  • 🐞 更新mermaid到最新版本。感谢 @​mzner
  • 🐞 导入katex时没有携带预设的属性(#​912)。感谢 @​kaokei

Fixed Bugs

  • 🐞 Update memraid to latest version. Thanks to @​mzner .
  • 🐞 Preset attributes were not correctly carried when importing katex(#​912). Thanks to @​kaokei.

v5.8.1

Compare Source

修复问题

  • 🐞 低版本的katex存在 CVE 漏洞。感谢 @​mzner

Fixed Bugs

  • 🐞 CVE vulnerability exists in lower versions of katex. Thanks to @​mzner .

v5.8.0

Compare Source

新增特性

修复问题

  • 🐞 上传后插入图片后的光标位置不正确。

New Features

Fixed Bugs

  • 🐞 The position of the cursor is not correct after inserting a picture.

v5.7.1

Compare Source

修复问题

  • 🐞 下拉框被代码模块遮住了(#​893)

Fixed Bugs

  • 🐞 The dropdown box is obscured by the code module(#​893)

v5.7.0

Compare Source

新增特性

  • 🌟 代码头部粘性定位(#​880)。

重构

  • ⭐️ 矫正”裁剪上传“的翻译。

  • ⭐️ 重命名类型 ConfigOptionGlobalConfig

  • ⭐️ 主题调整:

     1. 图片不再使用外边框包裹,正常显示原始图片。
     2. 统一各模块的圆角大小。
     3. 警告模块配色调整。
    

修复问题

  • 🐞 滚动条样式错误的使用了 CSS 变量。

New Features

  • 🌟 Setting position of code header to sticky(#​880)

Refactor

  • ⭐️ Correct crop command translation.

  • ⭐️ Rename type ConfigOption to GlobalConfig.

  • ⭐️ Theme Adjustment:

     1. Images are no longer wrapped with an outer border and will be displayed in their original form.
     2. Unify the corner radius across all modules.
     3. Color scheme adjustment for the admonition module.
    

Fixed Bugs

  • 🐞 Scrollbar styles incorrectly use CSS variables.

v5.6.1

Compare Source

新增特性

  • 🌟 extraTools属性可以被设置为方法(#​865)。

修复问题

  • 🐞 输入过滤内容后自动完成不正确。

New Features

  • 🌟 The extraTools attribute can be set to function(#​865).

Fixed Bugs

  • 🐞 Incorrect auto-completion after entering filtered content.

v5.6.0

Compare Source

新增特性

  • 🌟 新属性insertLinkDirect,用于设置是否直接插入链接(#​855)。
  • 🌟 补充依赖列表(#​864)。

修复问题

  • 🐞 无法通过 execCommand 插入图像或链接。

New Features

  • 🌟 New attribute insertLinkDirect to set whether to insert links directly or not(#​855).
  • 🌟 Supplementing dependency list(#​864)

Fixed Bugs

  • 🐞 Unable to insert images or links via execCommand.

v5.5.1

Compare Source

修复问题

  • 🐞 组件 MdCatalog 在挂载前访问元素 (#​838)。

Fixed Bugs

  • 🐞 Components MdCatalog access elements before mounting (#​838).

v5.5.0

Compare Source

新增特性

  • 🌟 为图标设置box-sizing默认值(#​785)
  • 🌟 支持控制目录显示的最大深度(#​832)
  • 🌟 支持自定义数学公式的分隔符(#​835)

New Features

  • 🌟 Set the default box-sizing value for icons(#​785)
  • 🌟 Support for controlling the maximum depth of catalog to be displayed(#​832)
  • 🌟 Support for customising the delimiters of mathematical formulae(#​835)

v5.4.5

Compare Source

Upgrade dependency @vavt/markdown-theme, Log: v4.4.0

v5.4.4

Compare Source

重构

  • ⭐️ 不再使用data-code存储mermaid模块代码(#​799)(#​813)。

修复问题


Refactor

  • ⭐️ No longer use data-code to carry mermaid module code(#​799)(#​813).

Fixed Bugs

v5.4.3

Compare Source

重构

  • ⭐️ 用节点对比变更内容。

修复问题

  • 🐞 更新内容时未正确更新html注释(#​812)。

Refactor

  • ⭐️ Compare changes with nodes.

Fixed Bugs

  • 🐞 html comments were not updated correctly when updating content(#​812).

v5.4.2

Compare Source

修复问题

  • 🐞 按需更新时未正确处理纯文本内容。(#​807

Fixed Bugs

  • 🐞 Plain text content not handled correctly when updating on demand.(#​807)

v5.4.1

Compare Source

修复问题

  • 🐞 未正确移除已删除的节点。

Fixed Bugs

  • 🐞 Deleted nodes not removed correctly.

v5.4.0

Compare Source

新增特性

重构

  • ⭐️ 优先使用navigator.clipboard来复制代码。
  • ⭐️ 增强onError事件, 支持捕获mermaid渲染错误。
  • ⭐️ 默认支持选择性更新不断变化的 html,例如:AI吐字。
  • ⭐️ 现在支持用户自行控制是否缩放mermaid模块。

修复问题

  • 🐞 特殊的mermaid内容无法正常渲染(#​799)。

New Features

Refactor

  • ⭐️ Prioritize the use of navigator.clipboard to copy code.
  • ⭐️ Enhance the onError event, support for catching mermaid rendering errors.
  • ⭐️ Supports selective updating of changing html by default, e.g. AI outputs.
  • ⭐️ Now supports user-controlled scaling of mermaid module.

Fixed Bugs

  • 🐞 Special mermaid content cannot be rendered(#​799).

v5.3.2

Compare Source

重构

  • ⭐️ 所有的组件所绑定的事件或者属性方法都会被触发。

修复问题

  • 🐞 onRemount事件的位置定义错误。

Refactor

  • ⭐️ Update event handling to trigger both bound method and event.

Fixed Bugs

  • 🐞 The position definition of the onRemount event is incorrect.

v5.3.1

Compare Source

v5.3.0

Compare Source

新增特性

重构

  • ⭐️ 没有预览区域时,滚动条始终存在问题。

修复问题

  • 🐞 只有编辑区域时目录状态同步错误。

New Features

  • 🌟 Added event onRemount.
  • 🌟 Added toolbar extension attribute extraTools for code blocks, Demo (#​771).
  • 🌟 New attribute catalogLayout for MdEditor.
  • 🌟 Synchronization of states between the catalog and the editing area(#​768).

Refactor

  • ⭐️ Scroller is still here when there is no preview area.

Fixed Bugs

  • 🐞 Catalog status sync not working when only the editing area is present.

v5.2.3

Compare Source

修复问题

  • 🐞 样式文件中存在未替换的scss变量

Fixed Bugs

  • 🐞 There are un-replaced SCSS variables in the style file.

v5.2.2

Compare Source

重构

  • ⭐️ 替换内容的逻辑,以及将多行内容标记为列表的能力(#​766)。

Refactor

  • ⭐️ The logic for replacing content, and ability to mark multiple lines of content as list(#​766).

v5.2.1

Compare Source

新增特性

  • 🌟 导出prefix
  • 🌟 向扩展组件动态添加showToolbarName属性。

修复问题

  • 🐞 当拖拽调整宽度时,拖拽状态可能无法释放。
  • 🐞 当组件销毁后,无法被取消的异步任务还在访问已经销毁的状态(#​748)。
  • 🐞 未正确处理扩展组件的disabled属性。

New Features

  • 🌟 Export prefix.
  • 🌟 Add showToolbarName to the expansion component actively.

Fixed Bugs

  • 🐞 When dragging to adjust width, it might be impossible to release the drag state.
  • 🐞 When component is destroyed, asynchronous task that couldn't be stopped accessed the state that had
    already been destroyed.(#​748).
  • 🐞 Not handled extension component's disabled property.

v5.2.0

Compare Source

v5.1.1

Compare Source

修复问题

  • 🐞 无标题且滚动时,MdCatalog组件会显示之前缓存的目录。

New Features

  • 🐞 Untitled, and when scrolling, MdCatalog component will display the last cached catalog.

v5.1.0

Compare Source

新增特性

  • 🌟 属性disabled现在对工具栏生效了(#​722)。

重构

  • ⭐️ 目录现在不受工具栏项限制(#​730)。
  • ⭐️ 使用default 插槽替换部分trigger插槽。

修复问题

  • 🐞 复制代码按钮的类型定义不正确(#​727)。

New Features

  • 🌟 Attribute disabled is now effective for the toolbar(#​722).

Refactor

  • ⭐️ Catalog is not restricted by the toolbar(#​730).
  • ⭐️ Replace part of trigger slot with default slot.

Fixed Bugs

  • 🐞 Icon type definition for copy code is incorrect(#​727).

v5.0.2

Compare Source

修复问题

  • 🐞 在组件被销毁后,异步任务仍在运行(#​716)。
  • 🐞 忽略了以两个$开头的案例。

Fixed Bugs

  • 🐞 After the component is destroyed, asynchronous task is still running(#​716).
  • 🐞 Omitted the case starting with two $.

v5.0.1

Compare Source

重构

  • ⭐️ 当块级公式被文本包围时,将被视为内联公式(#​712)。

Refactor

  • ⭐️ Block-level formulas will be treated as inline when surrounded by text(#​712).

v5.0.0

Compare Source

新增特性

  • 🌟 导出 clearSideEffects文档

重构

  • ⭐️ 使用 lucide 替换默认的图标,移除了 noIconfont 相关属性。
  • ⭐️ 使用 id 替换 editorId 属性(仅 MdEditorMdPreview ),使用 useId 获取默认值(你需要使用vue@​3.5以上)。
  • ⭐️ 导出 XSSPlugin, 不再默认添加 XSS 扩展到组件,示例
  • ⭐️ 优化 MdCatalog 组件,新增指示器。

修复问题

  • 🐞 命名错误,以前:inputBoxWitdh,现在:inputBoxWidth

New Features

  • 🌟 Export clearSideEffects, Docs.

Refactor

  • ⭐️ Replace editorId property with id(only MdEditor and MdPreview), use useId to get default value(you need to use vue@​3.5 or above).
  • ⭐️ Export XSSPlugin, no longer include XSS protection by default, Example.
  • ⭐️ Use lucide to replace default icons, remove attribute noIconfont.
  • ⭐️ Optimize component MdCatalog, add indicator.

Fixed Bugs

  • 🐞 Naming error, previously: inputBoxWitdh, now: inputBoxWidth.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@sharevb sharevb force-pushed the chore/all-my-stuffs branch from 9d1bd5e to bf58335 Compare December 17, 2025 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant