Files
cartlog-admin/node_modules/jodit/esm/plugins/paste/paste.d.ts
2026-01-01 15:25:19 +05:30

52 lines
1.2 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/paste/README.md]]
* @packageDocumentation
* @module plugins/paste
*/
import type { IJodit } from "../../types/index";
import { Plugin } from "../../core/plugin/plugin";
import "./config";
/**
* Ask before paste HTML source
*/
export declare class paste extends Plugin {
private pasteStack;
/** @override **/
protected afterInit(jodit: IJodit): void;
/** @override **/
protected beforeDestruct(jodit: IJodit): void;
/**
* Paste event handler
*/
private onPaste;
/**
* Process before paste
*/
private customPasteProcess;
/**
* Default paster process
*/
private defaultPasteProcess;
/**
* The dialog box was already open
*/
private _isDialogOpened;
/**
* Process usual HTML text fragment
*/
private processHTML;
/**
* Insert HTML by option type
*/
private __insertByType;
/**
* Replace all \\n chars in plain text to br
*/
private onProcessPasteReplaceNl2Br;
}