md-editor-v3

Markdown editor for vue3, developed in jsx and typescript, dark theme、beautify content by prettier、render articles directly、paste or clip the picture and upload it...

MIT License

Downloads
30.9K
Stars
1.6K
Committers
10

Bot releases are visible (Hide)

md-editor-v3 -

Published by imzbf 9 days ago

修复问题

  • 🐞 显示工具栏描述时,图标没有居中显示(#682)(#691)。

Fixed Bugs

  • 🐞 When displaying toolbar text, the icons are not centered(#682)(#691).
md-editor-v3 -

Published by imzbf 11 days ago

新增特性

  • 🌟 只在需要时显示切换同步滚动按钮(#684)。

修复问题

  • 🐞 无法使用ctrl+ictrl+u快捷键(#686)。
  • 🐞 显示工具栏描述时,图标没有居中显示(#682)。

New Features

  • 🌟 Only show scroll switch when needed(#684).

Fixed Bugs

  • 🐞 Unable to use the shortcuts ctrl+i and ctrl+u(#686).
  • 🐞 When displaying toolbar text, the icons are not centered(#682).
md-editor-v3 -

Published by imzbf 28 days ago

修复问题

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

Fixed Bugs

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

Published by imzbf about 1 month ago

修复问题

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

Fixed Bugs

  • 🐞 Depth is not set when configuring merge.
md-editor-v3 -

Published by imzbf about 1 month ago

新增特性

  • 🌟 暴露获取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
md-editor-v3 -

Published by imzbf about 2 months ago

新增特性

  • 🌟 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.
md-editor-v3 -

Published by imzbf about 2 months ago

修复问题

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

Fixed Bugs

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

Published by imzbf about 2 months ago

新增特性

  • 🌟 新增\(\)\[\]作为数学公式模块标识(#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.
md-editor-v3 -

Published by imzbf 2 months ago

修复问题

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

Fixed Bugs

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

Published by imzbf 2 months ago

新增特性

  • 🌟 单击任务可以切换其状态(#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.
md-editor-v3 -

Published by imzbf 3 months ago

修复问题

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

Fixed Bugs

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

Published by imzbf 3 months ago

修复问题

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

Fixed Bugs

  • 🐞 Content area may shake when synchronizing scrolling.
md-editor-v3 -

Published by imzbf 4 months ago

修复问题

  • 🐞 noImgZoomIn未正常生效。
  • 🐞 同步滚动时第一行的外边距没有纳入计算。

Fixed Bugs

  • 🐞 noImgZoomIn is not working properly.
  • 🐞 Margin of first row is not calculated when synchronizing scrolling.
md-editor-v3 -

Published by imzbf 4 months ago

修复问题

  • 🐞 预览模块的状态关系不正确。
  • 🐞 删除多行时,同步滚动可能报错。

Fixed Bugs

  • 🐞 The relationship between preview states is incorrect.
  • 🐞 When deleting multiple lines, synchronized scrolling encounters error.
md-editor-v3 -

Published by imzbf 4 months ago

新增特性

  • 🌟 使用::open强制展开代码块。

修复问题

  • 🐞 配置mermaid实例后,仍然添加了CDN链接(#580)。
  • 🐞 单块代码块独立存在时,同步滚动失效。
  • 🐞 当noHighlighttrue时,仍然能高亮代码。

New Features

  • 🌟 Force expand code block with ::open.

Fixed Bugs

  • 🐞 After configuring the mermaid instance, a CDN link was still appended(#580).
  • 🐞 When a single code block exists independently, synchronous scrolling fails.
  • 🐞 When noHighlight is set to true, code highlighting still occurs.
md-editor-v3 -

Published by imzbf 4 months ago

修复问题

  • 🐞 showMask的默认值不正确。

Fixed Bugs

  • 🐞 Incorrect default value for showMask.
md-editor-v3 -

Published by imzbf 4 months ago

新增特性

  • 🌟 添加Modal阴影,新增控制是否显示遮罩层的属性

修复问题

  • 🐞 当resizedWidth变化后没有被正确的存储。

New Features

  • 🌟 Add mobal box shadow, and introduced control attribute for displaying mask layer.

Fixed Bugs

  • 🐞 resizedWidth is not being recorded after it has been modified.
md-editor-v3 -

Published by imzbf 4 months ago

修复问题

  • 🐞 当只有一个模块存在时,在右侧滚动时会出现错误(#565)。

Fixed Bugs

  • 🐞 When there is only a single module present, an error occurs when scrolling on right side.(#565)
md-editor-v3 -

Published by imzbf 4 months ago

修复问题

  • 🐞 当滚动到底部时,两侧的同步率可能不相同。

Fixed Bugs

  • 🐞 When scrolling to the bottom, the synchronization ratio on both sides may not be the same.
md-editor-v3 -

Published by imzbf 4 months ago

修复问题

  • 🐞 删除文档末尾的换行符时,同步滚动可能失效。
  • 🐞 当设置codeFoldablefalse时,折叠图标仍然显示(#561)。

Fixed Bugs

  • 🐞 When delete trailing line break, synchronized scrolling becomes disabled.
  • 🐞 Icon not removed when codeFoldable is false(#561).