jodit-pro
Version:
PRO Version of Jodit Editor
19 lines (18 loc) • 483 B
TypeScript
import type { IDictionary, IJodit } from "jodit/esm/types/index";
interface IBlockInfo {
blockIndex: number;
tagName: string;
content: string;
textContent: string;
classList: string[];
}
/**
* Read blocks from the editor with optional filtering and pagination
*/
export declare function execute(jodit: IJodit, args: IDictionary, signal: AbortSignal): Promise<{
blocks: IBlockInfo[];
total: number;
offset: number;
limit?: number;
}>;
export {};