UNPKG

@ckeditor/ckeditor5-typing

Version:

Typing feature for CKEditor 5.

40 lines (39 loc) 944 B
/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * @module typing/texttransformation */ import { Plugin, type Editor, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core"; import { Delete } from "./delete.js"; import { Input } from "./input.js"; /** * The text transformation plugin. */ export declare class TextTransformation extends Plugin { /** * @inheritDoc */ static get requires(): PluginDependenciesOf<[Delete, Input]>; /** * @inheritDoc */ static get pluginName(): "TextTransformation"; /** * @inheritDoc */ static override get isOfficialPlugin(): true; /** * @inheritDoc */ constructor(editor: Editor); /** * @inheritDoc */ init(): void; /** * Create new TextWatcher listening to the editor for typing and selection events. */ private _enableTransformationWatchers; }