inital commit

This commit is contained in:
2026-01-01 15:25:19 +05:30
commit f0ae49465a
36361 changed files with 4894111 additions and 0 deletions

38
node_modules/jodit/esm/plugins/paste/interface.d.ts generated vendored Normal file
View File

@@ -0,0 +1,38 @@
/*!
* 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
*/
/**
* @module plugins/paste
*/
import type { InsertMode } from "../../types/index";
export type PasteEvent = ClipboardEvent | DragEvent;
export type PastedValue = {
html: string | Node;
action?: InsertMode;
};
export interface PastedData {
html?: string;
plain?: string;
rtf?: string;
}
declare module 'jodit/types/events' {
interface IEventEmitter {
/**
* Emitted before a clipboard paste is processed
* @event
*/
on(event: 'beforePaste', callback: (e: PasteEvent) => void | false): this;
/**
* Emitted after a clipboard paste is processed
* @event
*/
on(event: 'afterPaste', callback: (e: PasteEvent) => false): this;
/**
* Emitted before a clipboard paste if buffer content is like HTML
* @event
*/
on(event: 'processHTML', callback: (e: PasteEvent, value: string, texts: PastedData) => void | true): this;
}
}