jodit
Version:
Jodit is an awesome and useful wysiwyg editor with filebrowser
28 lines (27 loc) • 925 B
TypeScript
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
*/
/**
* @module plugins/backspace
*/
import type { IJodit } from "../../../types/index";
import type { DeleteMode } from "../interface";
type CaseFn = (jodit: IJodit, fakeNode: any, backspace: boolean, mode: DeleteMode) => void | boolean;
/**
* Ordered delete/backspace cases with stable keys. The first one returning
* `true` wins. The keys are stable across minified builds (function names are
* mangled by terser) so they can be referenced by `delete.disableCases`.
* @private
*/
export declare const casesMap: ReadonlyArray<readonly [
string,
CaseFn
]>;
/**
* @private
* @deprecated Use `casesMap` to also get the stable case keys.
*/
export declare const cases: CaseFn[];
export {};