1 | import { Plugin } from '@ckeditor/ckeditor5-core';
|
2 | import ImageUploadEditing from './imageupload/imageuploadediting';
|
3 | import ImageUploadProgress from './imageupload/imageuploadprogress';
|
4 | import ImageUploadUI from './imageupload/imageuploadui';
|
5 |
|
6 | export default class ImageUpload extends Plugin {
|
7 | static readonly pluginName: 'ImageUpload';
|
8 | static readonly requires: [typeof ImageUploadEditing, typeof ImageUploadUI, typeof ImageUploadProgress];
|
9 | }
|
10 |
|
11 | export interface ImageUploadConfig {
|
12 | types: string[];
|
13 | }
|
14 |
|
15 | declare module '@ckeditor/ckeditor5-core/src/plugincollection' {
|
16 | interface Plugins {
|
17 | ImageUpload: ImageUpload;
|
18 | }
|
19 | }
|