UNPKG

1.24 kBTypeScriptView 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/imageupload
7 */
8import { Plugin } from 'ckeditor5/src/core';
9import ImageUploadUI from './imageupload/imageuploadui';
10import ImageUploadProgress from './imageupload/imageuploadprogress';
11import ImageUploadEditing from './imageupload/imageuploadediting';
12/**
13 * The image upload plugin.
14 *
15 * For a detailed overview, check the {@glink features/images/image-upload/image-upload image upload feature} documentation.
16 *
17 * This plugin does not do anything directly, but it loads a set of specific plugins to enable image uploading:
18 *
19 * * {@link module:image/imageupload/imageuploadediting~ImageUploadEditing},
20 * * {@link module:image/imageupload/imageuploadui~ImageUploadUI},
21 * * {@link module:image/imageupload/imageuploadprogress~ImageUploadProgress}.
22 */
23export default class ImageUpload extends Plugin {
24 /**
25 * @inheritDoc
26 */
27 static get pluginName(): "ImageUpload";
28 /**
29 * @inheritDoc
30 */
31 static get requires(): readonly [typeof ImageUploadEditing, typeof ImageUploadUI, typeof ImageUploadProgress];
32}