vditor 3.8.17 → 3.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -352,6 +352,20 @@ new Vditor('vditor', {
352
352
  | className | 按钮类名 | - |
353
353
  | click(key: string) | 按钮点击回调事件 | - |
354
354
 
355
+ #### options.image
356
+
357
+ | | 说明 | 默认值 |
358
+ | - | - | - |
359
+ | isPreview | 是否预览图片 | true |
360
+ | preview(bom: Element) => void | 图片预览处理 | - |
361
+
362
+ #### options.link
363
+
364
+ | | 说明 | 默认值 |
365
+ | - | - | - |
366
+ | isOpen | 是否打开链接地址 | true |
367
+ | click(bom: Element) => void | 点击链接事件 | - |
368
+
355
369
  #### options.hint
356
370
 
357
371
  | | 说明 | 默认值 |
package/dist/index.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vditor v3.8.17 - A markdown editor written in TypeScript.
2
+ * Vditor v3.9.0 - A markdown editor written in TypeScript.
3
3
  *
4
4
  * MIT License
5
5
  *
@@ -1024,6 +1024,7 @@
1024
1024
  .vditor-reset .language-mindmap,
1025
1025
  .vditor-reset .language-plantuml,
1026
1026
  .vditor-reset .language-mermaid,
1027
+ .vditor-reset .language-markmap,
1027
1028
  .vditor-reset .language-abc,
1028
1029
  .vditor-reset .language-flowchart,
1029
1030
  .vditor-reset .language-graphviz {
@@ -1039,6 +1040,7 @@
1039
1040
  height: 420px;
1040
1041
  }
1041
1042
  .vditor-reset .language-mermaid,
1043
+ .vditor-reset .language-markmap,
1042
1044
  .vditor-reset .language-flowchart,
1043
1045
  .vditor-reset .language-graphviz {
1044
1046
  text-align: center;