vditor 3.9.0 → 3.9.2

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
@@ -201,7 +201,7 @@ Markdown 输出的 HTML 所展现的外观。内置 ant-design, light,dark,w
201
201
  | minHeight | 编辑区域最小高度 | - |
202
202
  | width | 编辑器总宽度,支持 % | 'auto' |
203
203
  | placeholder | 输入区域为空时的提示 | '' |
204
- | lang | 语言种类:en_US, ja_JP, ko_KR, ru_RU, zh_CN, zh_TW | 'zh_CN' |
204
+ | lang | 语言种类:en_US, fr_FR, ja_JP, ko_KR, ru_RU, sv_SE, zh_CN, zh_TW | 'zh_CN' |
205
205
  | input(value: string) | 输入后触发 | - |
206
206
  | focus(value: string) | 聚焦后触发 | - |
207
207
  | blur(value: string) | 失焦后触发 | - |
@@ -302,6 +302,7 @@ new Vditor('vditor', {
302
302
 
303
303
  | | 说明 | 默认值 |
304
304
  | - | - | - |
305
+ | defaultLang | 未指定语言时默认使用该语言 | '' |
305
306
  | enable | 是否启用代码高亮 | true |
306
307
  | style | 可选值参见[Chroma](https://xyproto.github.io/splash/docs/longer/all.html) | `github` |
307
308
  | lineNumber | 是否启用行号 | false |
package/dist/index.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vditor v3.9.0 - A markdown editor written in TypeScript.
2
+ * Vditor v3.9.2 - A markdown editor written in TypeScript.
3
3
  *
4
4
  * MIT License
5
5
  *