Resource/WangEditor/config/index.d.ts
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/**
* @description 编辑器配置
* @author wangfupeng
*/
import { EmotionsType, FontSizeConfType, IndentationType, tooltipPositionType, FontStyleType } from './menus';
import { UploadImageHooksType } from './image';
import langConfig from './lang';
import { UploadVideoHooksType } from './video';
export declare type DicType = {
[key: string]: string;
};
export declare type ConfigType = {
height: number;
languageType: string[];
languageTab: string;
menus: string[];
excludeMenus: string[];
fontNames: FontStyleType;
lineHeights: string[];
showMenuTooltips: boolean;
indentation: IndentationType;
fontSizes: FontSizeConfType;
colors: string[];
emotions: EmotionsType[];
zIndex: number;
onchange: Function | null;
onfocus: Function;
onblur: Function;
onchangeTimeout: number;
pasteFilterStyle: boolean;
pasteIgnoreImg: boolean;
pasteTextHandle: Function;
styleWithCSS: boolean;
linkImgCallback: Function;
onSelectionChange: Function;
placeholder: string;
zIndexFullScreen: number;
showFullScreen: boolean;
showLinkImg: boolean;
showLinkImgAlt: boolean;
showLinkImgHref: boolean;
uploadImgAccept: string[];
uploadImgServer: string;
uploadImgShowBase64: boolean;
uploadImgMaxSize: number;
uploadImgMaxLength: number;
uploadFileName: string;
uploadImgParams: DicType;
uploadImgParamsWithUrl: boolean;
uploadImgHeaders: DicType;
uploadImgHooks: UploadImageHooksType;
uploadImgTimeout: number;
withCredentials: boolean;
customUploadImg: Function | null;
uploadImgFromMedia: Function | null;
customAlert: Function;
onCatalogChange: Function | null;
lang: string;
languages: typeof langConfig;
linkCheck: Function;
后面还有 32 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
