jodit-pro
Version:
PRO Version of Jodit Editor
14 lines (13 loc) • 411 B
TypeScript
import type { IDictionary, IJodit } from "jodit/esm/types/index";
/**
* Get current selection information with optional context
*/
export declare function execute(jodit: IJodit, args: IDictionary, signal: AbortSignal): Promise<{
hasSelection: boolean;
html?: string;
text?: string;
contextBefore?: string;
contextAfter?: string;
startContainer?: string;
endContainer?: string;
}>;