Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump vditor from 3.9.5 to 3.9.6 #103

Merged
merged 2 commits into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"lockfileVersion": 1,
"dependencies": {
"vditor": "3.9.5"
"vditor": "3.9.6"
}
}
2 changes: 1 addition & 1 deletion src/main/resources/vditor/dist/index.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Vditor v3.9.5 - A markdown editor written in TypeScript.
* Vditor v3.9.6 - A markdown editor written in TypeScript.
*
* MIT License
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/vditor/dist/index.min.js

Large diffs are not rendered by default.

142 changes: 71 additions & 71 deletions src/main/resources/vditor/dist/js/lute/lute.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/resources/vditor/dist/method.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/main/resources/vditor/dist/ts/preview/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/// <reference types="./types" />
export declare class Preview {
element: HTMLElement;
previewElement: HTMLElement;
private mdTimeoutId;
constructor(vditor: IVditor);
render(vditor: IVditor, value?: string): void;
Expand Down
5 changes: 4 additions & 1 deletion src/main/resources/vditor/dist/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,8 @@ interface IMath {
macros?: object;
/** 数学公式渲染引擎。默认值: 'KaTeX' */
engine?: "KaTeX" | "MathJax";
/** 数学公式渲染引擎为 MathJax 时传入的参数 */
mathJaxOptions?: any;
}

/** @link https://ld246.com/article/1549638745630#options-preview-markdown */
Expand Down Expand Up @@ -772,7 +774,8 @@ interface IVditor {
element?: HTMLElement,
};
preview?: {
element: HTMLElement
element: HTMLElement,
previewElement: HTMLElement,
render(vditor: IVditor, value?: string): void,
};
counter?: {
Expand Down