@ckeditor/ckeditor5-upload 27.1.0 → 29.2.0

Sign up to get free protection for your applications and to get access to all the features.
package/LICENSE.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Software License Agreement
2
2
  ==========================
3
3
 
4
- **CKEditor 5 Upload Feature** – https://github.com/ckeditor/ckeditor5-upload <br>
4
+ **CKEditor 5 upload feature** – https://github.com/ckeditor/ckeditor5-upload <br>
5
5
  Copyright (c) 2003-2021, [CKSource](http://cksource.com) Frederico Knabben. All rights reserved.
6
6
 
7
7
  Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
- CKEditor 5 file upload utilities
1
+ CKEditor 5 file upload feature
2
2
  ========================================
3
3
 
4
4
  [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-upload.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload)
5
- [![Dependency Status](https://david-dm.org/ckeditor/ckeditor5-upload/status.svg)](https://david-dm.org/ckeditor/ckeditor5-upload)
6
- [![devDependency Status](https://david-dm.org/ckeditor/ckeditor5-upload/dev-status.svg)](https://david-dm.org/ckeditor/ckeditor5-upload?type=dev)
5
+ [![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
6
+ [![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://travis-ci.com/ckeditor/ckeditor5)
7
7
 
8
8
  This package implements various file upload utilities for CKEditor 5.
9
9
 
@@ -0,0 +1,18 @@
1
+ {
2
+ "plugins": [
3
+ {
4
+ "name": "Base64 upload adapter",
5
+ "className": "Base64UploadAdapter",
6
+ "description": "An image upload tool. It converts images inserted into the rich-text editor into Base64-encoded strings in the editor output.",
7
+ "docs": "features/images/image-upload/base64-upload-adapter.html",
8
+ "path": "src/adapters/base64uploadadapter.js"
9
+ },
10
+ {
11
+ "name": "Simple upload adapter",
12
+ "className": "SimpleUploadAdapter",
13
+ "description": "An image upload tool. It allows for uploading images to an application running on your server using the <code>XMLHttpRequest</code> API with a minimal editor configuration.",
14
+ "docs": "features/images/image-upload/simple-upload-adapter.html",
15
+ "path": "src/adapters/simpleuploadadapter.js"
16
+ }
17
+ ]
18
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-upload",
3
- "version": "27.1.0",
4
- "description": "Upload Feature for CKEditor 5.",
3
+ "version": "29.2.0",
4
+ "description": "Upload feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
7
7
  "ckeditor5",
@@ -11,9 +11,9 @@
11
11
  ],
12
12
  "main": "src/index.js",
13
13
  "dependencies": {
14
- "@ckeditor/ckeditor5-core": "^27.1.0",
15
- "@ckeditor/ckeditor5-utils": "^27.1.0",
16
- "@ckeditor/ckeditor5-ui": "^27.1.0"
14
+ "@ckeditor/ckeditor5-core": "^29.2.0",
15
+ "@ckeditor/ckeditor5-utils": "^29.2.0",
16
+ "@ckeditor/ckeditor5-ui": "^29.2.0"
17
17
  },
18
18
  "engines": {
19
19
  "node": ">=12.0.0",
@@ -31,6 +31,7 @@
31
31
  "files": [
32
32
  "lang",
33
33
  "src",
34
- "theme"
34
+ "theme",
35
+ "ckeditor5-metadata.json"
35
36
  ]
36
37
  }
@@ -19,7 +19,7 @@ import FileRepository from '../filerepository';
19
19
  * This kind of image upload does not require server processing – images are stored with the rest of the text and
20
20
  * displayed by the web browser without additional requests.
21
21
  *
22
- * Check out the {@glink features/image-upload/image-upload comprehensive "Image upload overview"} to learn about
22
+ * Check out the {@glink features/images/image-upload/image-upload comprehensive "Image upload overview"} to learn about
23
23
  * other ways to upload images into CKEditor 5.
24
24
  *
25
25
  * @extends module:core/plugin~Plugin
@@ -30,10 +30,10 @@ import { logWarning } from '@ckeditor/ckeditor5-utils/src/ckeditorerror';
30
30
  * .then( ... )
31
31
  * .catch( ... );
32
32
  *
33
- * See the {@glink features/image-upload/simple-upload-adapter "Simple upload adapter"} guide to learn how to
33
+ * See the {@glink features/images/image-upload/simple-upload-adapter "Simple upload adapter"} guide to learn how to
34
34
  * learn more about the feature (configuration, server–side requirements, etc.).
35
35
  *
36
- * Check out the {@glink features/image-upload/image-upload comprehensive "Image upload overview"} to learn about
36
+ * Check out the {@glink features/images/image-upload/image-upload comprehensive "Image upload overview"} to learn about
37
37
  * other ways to upload images into CKEditor 5.
38
38
  *
39
39
  * @extends module:core/plugin~Plugin
@@ -243,7 +243,7 @@ class Adapter {
243
243
  * .then( ... )
244
244
  * .catch( ... );
245
245
  *
246
- * See the {@glink features/image-upload/simple-upload-adapter "Simple upload adapter"} guide to learn more.
246
+ * See the {@glink features/images/image-upload/simple-upload-adapter "Simple upload adapter"} guide to learn more.
247
247
  *
248
248
  * See {@link module:core/editor/editorconfig~EditorConfig all editor configuration options}.
249
249
  *
@@ -263,7 +263,7 @@ class Adapter {
263
263
  * upload of resources (images) inserted into the editor content.
264
264
  *
265
265
  * Learn more about the server application requirements in the
266
- * {@glink features/image-upload/simple-upload-adapter#server-side-configuration "Server-side configuration"} section
266
+ * {@glink features/images/image-upload/simple-upload-adapter#server-side-configuration "Server-side configuration"} section
267
267
  * of the feature guide.
268
268
  *
269
269
  * @member {String} module:upload/adapters/simpleuploadadapter~SimpleUploadConfig#uploadUrl
@@ -287,7 +287,7 @@ class Adapter {
287
287
  * .catch( ... );
288
288
  *
289
289
  * Learn more about the server application requirements in the
290
- * {@glink features/image-upload/simple-upload-adapter#server-side-configuration "Server-side configuration"} section
290
+ * {@glink features/images/image-upload/simple-upload-adapter#server-side-configuration "Server-side configuration"} section
291
291
  * of the feature guide.
292
292
  *
293
293
  * @member {Object.<String, String>} module:upload/adapters/simpleuploadadapter~SimpleUploadConfig#headers
@@ -309,7 +309,7 @@ class Adapter {
309
309
  * .catch( ... );
310
310
  *
311
311
  * Learn more about the server application requirements in the
312
- * {@glink features/image-upload/simple-upload-adapter#server-side-configuration "Server-side configuration"} section
312
+ * {@glink features/images/image-upload/simple-upload-adapter#server-side-configuration "Server-side configuration"} section
313
313
  * of the feature guide.
314
314
  *
315
315
  * @member {Boolean} [module:upload/adapters/simpleuploadadapter~SimpleUploadConfig#withCredentials=false]
@@ -26,7 +26,7 @@ import uid from '@ckeditor/ckeditor5-utils/src/uid.js';
26
26
  * (sending the file and handling server's response). You can use one of the existing plugins introducing upload adapters
27
27
  * (e.g. {@link module:easy-image/cloudservicesuploadadapter~CloudServicesUploadAdapter} or
28
28
  * {@link module:adapter-ckfinder/uploadadapter~CKFinderUploadAdapter}) or write your own one – see
29
- * the {@glink framework/guides/deep-dive/upload-adapter "Custom image upload adapter" deep dive guide}.
29
+ * the {@glink framework/guides/deep-dive/upload-adapter Custom image upload adapter deep dive guide}.
30
30
  *
31
31
  * Then, you can use {@link module:upload/filerepository~FileRepository#createLoader `createLoader()`} and the returned
32
32
  * {@link module:upload/filerepository~FileLoader} instance to load and upload files.
@@ -157,14 +157,14 @@ export default class FileRepository extends Plugin {
157
157
  * **If you see this warning when using one of the {@glink builds/index CKEditor 5 Builds}**
158
158
  * it means that you did not configure any of the upload adapters available by default in those builds.
159
159
  *
160
- * See the {@glink features/image-upload/image-upload comprehensive "Image upload overview"} to learn which upload
160
+ * See the {@glink features/images/image-upload/image-upload comprehensive "Image upload overview"} to learn which upload
161
161
  * adapters are available in the builds and how to configure them.
162
162
  *
163
163
  * **If you see this warning when using a custom build** there is a chance that you enabled
164
164
  * a feature like {@link module:image/imageupload~ImageUpload},
165
165
  * or {@link module:image/imageupload/imageuploadui~ImageUploadUI} but you did not enable any upload adapter.
166
166
  * You can choose one of the existing upload adapters listed in the
167
- * {@glink features/image-upload/image-upload "Image upload overview"}.
167
+ * {@glink features/images/image-upload/image-upload "Image upload overview"}.
168
168
  *
169
169
  * You can also implement your {@glink framework/guides/deep-dive/upload-adapter own image upload adapter}.
170
170
  *