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

View File

@@ -0,0 +1,27 @@
/*!
* 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-from-word/README.md]]
* @packageDocumentation
* @module plugins/paste-from-word
*/
import type { IJodit, InsertMode } from "../../types/index";
import type { PastedData, PasteEvent } from "../paste/interface";
import { Plugin } from "../../core/plugin/index";
import "./config";
export declare class pasteFromWord extends Plugin {
static requires: string[];
protected afterInit(jodit: IJodit): void;
protected beforeDestruct(jodit: IJodit): void;
/**
* Try if text is Word's document fragment and try process this
*/
protected processWordHTML(e: PasteEvent, text: string, texts: PastedData): boolean;
/**
* Clear extra styles and tags from Word's pasted text
*/
protected insertFromWordByType(e: PasteEvent, html: string, insertType: InsertMode, texts: PastedData): void;
}