feat: add vditor locally
This commit is contained in:
45
public/vditor/ts/constants.d.ts
vendored
Normal file
45
public/vditor/ts/constants.d.ts
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
/// <reference types="./types" />
|
||||
declare const _VDITOR_VERSION: string;
|
||||
export { _VDITOR_VERSION as VDITOR_VERSION };
|
||||
export declare abstract class Constants {
|
||||
static readonly ZWSP: string;
|
||||
static readonly DROP_EDITOR: string;
|
||||
static readonly MOBILE_WIDTH: number;
|
||||
static readonly CLASS_MENU_DISABLED: string;
|
||||
static readonly EDIT_TOOLBARS: string[];
|
||||
static readonly CODE_THEME: string[];
|
||||
static readonly ALIAS_CODE_LANGUAGES: string[];
|
||||
static readonly CDN: string;
|
||||
static readonly MARKDOWN_OPTIONS: {
|
||||
autoSpace: boolean;
|
||||
gfmAutoLink: boolean;
|
||||
codeBlockPreview: boolean;
|
||||
fixTermTypo: boolean;
|
||||
footnotes: boolean;
|
||||
linkBase: string;
|
||||
linkPrefix: string;
|
||||
listStyle: boolean;
|
||||
mark: boolean;
|
||||
mathBlockPreview: boolean;
|
||||
paragraphBeginningSpace: boolean;
|
||||
sanitize: boolean;
|
||||
toc: boolean;
|
||||
};
|
||||
static readonly HLJS_OPTIONS: {
|
||||
enable: boolean;
|
||||
lineNumber: boolean;
|
||||
defaultLang: string;
|
||||
style: string;
|
||||
};
|
||||
static readonly MATH_OPTIONS: IMath;
|
||||
static readonly THEME_OPTIONS: {
|
||||
current: string;
|
||||
list: {
|
||||
"ant-design": string;
|
||||
dark: string;
|
||||
light: string;
|
||||
wechat: string;
|
||||
};
|
||||
path: string;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user