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 | */
|
8 | import { Plugin } from 'ckeditor5/src/core';
|
9 | import ImageUploadUI from './imageupload/imageuploadui';
|
10 | import ImageUploadProgress from './imageupload/imageuploadprogress';
|
11 | import 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 | */
|
23 | export 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 | }
|