34 lines
1.0 KiB
TypeScript
34 lines
1.0 KiB
TypeScript
/*!
|
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
*/
|
|
/**
|
|
* [[include:plugins/delete/README.md]]
|
|
* @packageDocumentation
|
|
* @module plugins/delete
|
|
*/
|
|
import type { IJodit } from "../../types/index";
|
|
import { Plugin } from "../../core/plugin/index";
|
|
import "./interface";
|
|
export declare class deleteCommand extends Plugin {
|
|
static requires: string[];
|
|
protected afterInit(jodit: IJodit): void;
|
|
protected beforeDestruct(jodit: IJodit): void;
|
|
/**
|
|
* After Delete command remove extra BR
|
|
*/
|
|
private __afterDeleteCommand;
|
|
private __onDeleteCommand;
|
|
private __moveContentInLeftSibling;
|
|
/**
|
|
* If left sibling is list - return last leaf
|
|
*/
|
|
private __defineRightLeftBox;
|
|
/**
|
|
* Add BR in empty blocks left and right(for table cell)
|
|
*/
|
|
private __addBrInEmptyBlock;
|
|
private __moveCursorInEditableSibling;
|
|
}
|