vditor 3.9.4 → 3.9.5
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 +1 -0
- package/dist/index.css +2 -2
- package/dist/index.min.js +1 -1
- package/dist/js/lute/lute.min.js +71 -71
- package/dist/method.d.ts +2 -2
- package/dist/method.min.js +1 -1
- package/dist/types/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/assets/less/_content.less +1 -1
- package/src/ts/ir/process.ts +1 -1
- package/src/ts/preview/index.ts +3 -2
- package/src/ts/undo/index.ts +5 -3
- package/src/ts/wysiwyg/highlightToolbarWYSIWYG.ts +1 -1
package/README.md
CHANGED
|
@@ -307,6 +307,7 @@ new Vditor('vditor', {
|
|
|
307
307
|
| enable | 是否启用代码高亮 | true |
|
|
308
308
|
| style | 可选值参见[Chroma](https://xyproto.github.io/splash/docs/longer/all.html) | `github` |
|
|
309
309
|
| lineNumber | 是否启用行号 | false |
|
|
310
|
+
| langs | 自定义指定语言 | [CODE_LANGUAGES](https://github.com/Vanessa219/vditor/blob/53ca8f9a0e511b37b5dae7c6b15eb933e9e02ccd/src/ts/constants.ts#L20) |
|
|
310
311
|
|
|
311
312
|
#### options.preview.markdown
|
|
312
313
|
|
package/dist/index.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vditor v3.9.
|
|
2
|
+
* Vditor v3.9.5 - A markdown editor written in TypeScript.
|
|
3
3
|
*
|
|
4
4
|
* MIT License
|
|
5
5
|
*
|
|
@@ -727,7 +727,7 @@
|
|
|
727
727
|
bottom: 0;
|
|
728
728
|
display: flex;
|
|
729
729
|
flex-direction: column;
|
|
730
|
-
z-index:
|
|
730
|
+
z-index: 100;
|
|
731
731
|
}
|
|
732
732
|
.vditor-img__bar {
|
|
733
733
|
border-bottom: 1px solid var(--border-color);
|