@ckeditor/ckeditor5-easy-image 41.3.0-alpha.3 → 41.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -3
- package/dist/content-index.css +0 -4
- package/dist/editor-index.css +0 -4
- package/dist/index.css +0 -4
- package/dist/types/augmentation.d.ts +0 -15
- package/dist/types/cloudservicesuploadadapter.d.ts +0 -36
- package/dist/types/easyimage.d.ts +0 -51
- package/dist/types/index.d.ts +0 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-easy-image",
|
|
3
|
-
"version": "41.3.0
|
|
3
|
+
"version": "41.3.0",
|
|
4
4
|
"description": "Easy Image feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"ckeditor5": "41.3.0
|
|
16
|
+
"ckeditor5": "41.3.0"
|
|
17
17
|
},
|
|
18
18
|
"author": "CKSource (http://cksource.com/)",
|
|
19
19
|
"license": "GPL-2.0-or-later",
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
"directory": "packages/ckeditor5-easy-image"
|
|
26
26
|
},
|
|
27
27
|
"files": [
|
|
28
|
-
"dist",
|
|
29
28
|
"lang",
|
|
30
29
|
"src/**/*.js",
|
|
31
30
|
"src/**/*.d.ts",
|
package/dist/content-index.css
DELETED
package/dist/editor-index.css
DELETED
package/dist/index.css
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, 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
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
-
*/
|
|
9
|
-
import type { EasyImage, CloudServicesUploadAdapter } from './index.js';
|
|
10
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
11
|
-
interface PluginsMap {
|
|
12
|
-
[EasyImage.pluginName]: EasyImage;
|
|
13
|
-
[CloudServicesUploadAdapter.pluginName]: CloudServicesUploadAdapter;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, 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
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module easy-image/cloudservicesuploadadapter
|
|
11
|
-
*/
|
|
12
|
-
import { Plugin } from 'ckeditor5/src/core.js';
|
|
13
|
-
import { FileRepository } from 'ckeditor5/src/upload.js';
|
|
14
|
-
/**
|
|
15
|
-
* A plugin that enables upload to [CKEditor Cloud Services](https://ckeditor.com/ckeditor-cloud-services/).
|
|
16
|
-
*
|
|
17
|
-
* It is mainly used by the {@link module:easy-image/easyimage~EasyImage} feature.
|
|
18
|
-
*
|
|
19
|
-
* After enabling this adapter you need to configure the CKEditor Cloud Services integration through
|
|
20
|
-
* {@link module:cloud-services/cloudservicesconfig~CloudServicesConfig `config.cloudServices`}.
|
|
21
|
-
*/
|
|
22
|
-
export default class CloudServicesUploadAdapter extends Plugin {
|
|
23
|
-
private _uploadGateway?;
|
|
24
|
-
/**
|
|
25
|
-
* @inheritDoc
|
|
26
|
-
*/
|
|
27
|
-
static get pluginName(): "CloudServicesUploadAdapter";
|
|
28
|
-
/**
|
|
29
|
-
* @inheritDoc
|
|
30
|
-
*/
|
|
31
|
-
static get requires(): readonly ["CloudServices", typeof FileRepository];
|
|
32
|
-
/**
|
|
33
|
-
* @inheritDoc
|
|
34
|
-
*/
|
|
35
|
-
init(): void;
|
|
36
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, 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
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module easy-image/easyimage
|
|
11
|
-
*/
|
|
12
|
-
import { Plugin } from 'ckeditor5/src/core.js';
|
|
13
|
-
import CloudServicesUploadAdapter from './cloudservicesuploadadapter.js';
|
|
14
|
-
/**
|
|
15
|
-
* The Easy Image feature, which makes the image upload in CKEditor 5 possible with virtually zero
|
|
16
|
-
* server setup. A part of the [CKEditor Cloud Services](https://ckeditor.com/ckeditor-cloud-services/)
|
|
17
|
-
* family.
|
|
18
|
-
*
|
|
19
|
-
* This is a "glue" plugin which enables:
|
|
20
|
-
*
|
|
21
|
-
* * {@link module:easy-image/cloudservicesuploadadapter~CloudServicesUploadAdapter}.
|
|
22
|
-
*
|
|
23
|
-
* This plugin requires plugin to be present in the editor configuration:
|
|
24
|
-
*
|
|
25
|
-
* * {@link module:image/image~Image},
|
|
26
|
-
* * {@link module:image/imageupload~ImageUpload},
|
|
27
|
-
*
|
|
28
|
-
* See the {@glink features/images/image-upload/easy-image "Easy Image integration" guide} to learn how to configure
|
|
29
|
-
* and use this feature.
|
|
30
|
-
*
|
|
31
|
-
* Check out the {@glink features/images/image-upload/image-upload comprehensive "Image upload" guide} to learn about
|
|
32
|
-
* other ways to upload images into CKEditor 5.
|
|
33
|
-
*
|
|
34
|
-
* **Note**: After enabling the Easy Image plugin you need to configure the
|
|
35
|
-
* [CKEditor Cloud Services](https://ckeditor.com/ckeditor-cloud-services/)
|
|
36
|
-
* integration through {@link module:cloud-services/cloudservicesconfig~CloudServicesConfig `config.cloudServices`}.
|
|
37
|
-
*/
|
|
38
|
-
export default class EasyImage extends Plugin {
|
|
39
|
-
/**
|
|
40
|
-
* @inheritDoc
|
|
41
|
-
*/
|
|
42
|
-
static get pluginName(): "EasyImage";
|
|
43
|
-
/**
|
|
44
|
-
* @inheritDoc
|
|
45
|
-
*/
|
|
46
|
-
static get requires(): readonly [typeof CloudServicesUploadAdapter, "ImageUpload"];
|
|
47
|
-
/**
|
|
48
|
-
* @inheritDoc
|
|
49
|
-
*/
|
|
50
|
-
init(): void;
|
|
51
|
-
}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, 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
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module easy-image
|
|
11
|
-
*/
|
|
12
|
-
export { default as EasyImage } from './easyimage.js';
|
|
13
|
-
export { default as CloudServicesUploadAdapter } from './cloudservicesuploadadapter.js';
|
|
14
|
-
import './augmentation.js';
|