UNPKG

slate-devtools

Version:

`slate-devtools` as name suggests it is devtool for [slatejs](https://github.com/ianstormtaylor/slate) which will assist you in debugging the code

14 lines 574 B
import { Editor } from "slate"; declare type Module = { [index: string]: unknown; }; /** * Function will execute the code in string type. If the code run without any error * then it will true or else it will return false * * The code can access the object passed through module by its key name and it can also access * the editor (of App) and devEditor (of devtools) by their names */ export declare const execute: (callbackString: string, module: Module, editor: Editor, devEditor: Editor) => boolean; export {}; //# sourceMappingURL=execute.d.ts.map