@ckeditor/ckeditor5-import-word
Version:
Import from Word feature for CKEditor 5.
44 lines (43 loc) • 1.34 kB
TypeScript
/**
* @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 import-word/importwordediting
* @publicApi
*/
import { Plugin } from '@ckeditor/ckeditor5-core';
import { Notification } from '@ckeditor/ckeditor5-ui';
import { ClipboardPipeline } from '@ckeditor/ckeditor5-clipboard';
import { CloudServices, type InitializedToken } from '@ckeditor/ckeditor5-cloud-services';
/**
* The editing part of the import from Word feature.
*
* It registers the {@link module:import-word/importwordcommand~ImportWordCommand `'importWord'` command}.
*/
export declare class ImportWordEditing extends Plugin {
/**
* @inheritDoc
*/
static get pluginName(): "ImportWordEditing";
/**
* @inheritDoc
*/
static get isOfficialPlugin(): true;
/**
* @inheritDoc
*/
static get isPremiumPlugin(): true;
/**
* @inheritDoc
*/
static get requires(): readonly [typeof Notification, typeof ClipboardPipeline, typeof CloudServices];
/**
* @inheritDoc
*/
init(): void;
/**
* Returns a token used by the import from Word plugin for communication with the Cloud Services.
*/
getToken(): Promise<InitializedToken | null>;
}