jodit-pro
Version:
PRO Version of Jodit Editor
41 lines (40 loc) • 1.64 kB
TypeScript
/*!
* Jodit Editor PRO (https://xdsoft.net/jodit/)
* See LICENSE.md in the project root for license information.
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
*/
import type { CommitMode, ICommitStyle, IJodit } from "jodit/esm/types/index";
import "./config";
import { Plugin } from "jodit/esm/core/plugin/index";
export declare class TodoList extends Plugin {
static requires: string[];
buttons: {
name: string;
group: string;
}[];
protected afterInit(jodit: IJodit): void;
private __isOwnCommand;
private onCommand;
private __prependInputLabel;
protected __afterToggleList(mode: CommitMode, list: HTMLElement): void;
private __appendInputs;
private __removeInputs;
protected __beforeToggleOrderedList(mode: CommitMode, list: HTMLElement, style: ICommitStyle): HTMLElement | void;
protected __afterEnter(): void;
protected __afterTab(): void;
protected __changeSelection(e: MouseEvent): void;
protected __isEmptyListLeaf(li: HTMLElement): boolean;
/**
* Remove checkbox before processing backspace
*/
protected __backSpaceBeforeCases(backspace: boolean, fake: Node): void;
protected __isInvisibleForCursor(elm: HTMLElement): void | true;
/**
* Just normalize the list if all of a sudden the checkboxes
*/
protected __backSpaceAfterDelete(): void | true;
protected __afterWrapList(mode: CommitMode, wrapper: HTMLElement): void;
protected __onClickInput(e: MouseEvent): void;
private isTodoLeafLabel;
protected beforeDestruct(jodit: IJodit): void;
}