UNPKG

933 BTypeScriptView Raw
1/**
2 * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 */
5/**
6 * @module image/image/imageediting
7 */
8import { Plugin } from 'ckeditor5/src/core';
9import ImageUtils from '../imageutils';
10/**
11 * The image engine plugin. This module loads common code shared between
12 * {@link module:image/image/imageinlineediting~ImageInlineEditing} and
13 * {@link module:image/image/imageblockediting~ImageBlockEditing} plugins.
14 *
15 * This plugin registers the {@link module:image/image/insertimagecommand~InsertImageCommand 'insertImage'} command.
16 */
17export default class ImageEditing extends Plugin {
18 /**
19 * @inheritDoc
20 */
21 static get requires(): readonly [typeof ImageUtils];
22 /**
23 * @inheritDoc
24 */
25 static get pluginName(): "ImageEditing";
26 /**
27 * @inheritDoc
28 */
29 init(): void;
30}