Vanessa 1 gadu atpakaļ
vecāks
revīzija
0ac299ca74
3 mainītis faili ar 4 papildinājumiem un 2 dzēšanām
  1. 2 0
      CHANGELOG.md
  2. 1 1
      README.md
  3. 1 1
      README_en_US.md

+ 2 - 0
CHANGELOG.md

@@ -16,6 +16,8 @@
 
 ### v3.10.4 / 2024-04
 
+* [options.preview.hljs.linenumber 设置为 true 时复制按钮消失](https://github.com/Vanessa219/vditor/issues/1601) `修复缺陷`
+
 ### v3.10.3 / 2024-04-02
 
 * [⬆️ Bump express from 4.17.3 to 4.19.2](https://github.com/Vanessa219/vditor/pull/1594) `dependencies`

+ 1 - 1
README.md

@@ -309,7 +309,7 @@ new Vditor('vditor', {
 | style | 可选值参见[Chroma](https://xyproto.github.io/splash/docs/longer/all.html) | `github` |
 | lineNumber | 是否启用行号 | false |
 | langs | 自定义指定语言 | [CODE_LANGUAGES](https://github.com/Vanessa219/vditor/blob/53ca8f9a0e511b37b5dae7c6b15eb933e9e02ccd/src/ts/constants.ts#L20) |
-| renderMenu | 渲染菜单按钮 | - |
+| renderMenu(code: HTMLElement, copy: HTMLElement) | 渲染菜单按钮 | - |
 
 #### options.preview.markdown
 

+ 1 - 1
README_en_US.md

@@ -293,7 +293,7 @@ new Vditor('vditor', {
 | style | For optional values, see [Chroma](https://xyproto.github.io/splash/docs/longer/all.html) | `github` |
 | lineNumber | Whether to enable line number | false |
 | langs | Custom languages | [CODE_LANGUAGES](https://github.com/Vanessa219/vditor/blob/53ca8f9a0e511b37b5dae7c6b15eb933e9e02ccd/src/ts/constants.ts#L20) |
-| renderMenu | render menu button | - |
+| renderMenu(code: HTMLElement, copy: HTMLElement) | render menu button | - |
 
 #### options.preview.markdown