Resource/WangEditor/plugins/index.d.ts
(完整代码) 588Bimport Editor from '../editor';
export interface RegisterOptions {
intention: any;
config?: any;
}
export declare type pluginsListType = {
[key: string]: RegisterOptions;
};
/**
* 插件注册
* @param { string } name 插件名
* @param { RegisterOptions } options 插件配置
* @param { pluginsListType } memory 存储介质
*/
export declare function registerPlugin(name: string, options: RegisterOptions, memory: pluginsListType): void;
/**
* 插件初始化
* @param { Editor } editor 编辑器实例
*/
export default function initPlugins(editor: Editor): void;
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
