@ckeditor/ckeditor5-ckbox 45.0.0-alpha.9 → 45.1.0-alpha.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/LICENSE.md +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
- package/src/ckboxediting.js +1 -1
- package/src/utils.d.ts +7 -4
- package/src/utils.js +7 -4
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-ckbox",
|
3
|
-
"version": "45.
|
3
|
+
"version": "45.1.0-alpha.0",
|
4
4
|
"description": "CKBox integration for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -13,15 +13,15 @@
|
|
13
13
|
"type": "module",
|
14
14
|
"main": "src/index.js",
|
15
15
|
"dependencies": {
|
16
|
-
"@ckeditor/ckeditor5-cloud-services": "45.
|
17
|
-
"@ckeditor/ckeditor5-core": "45.
|
18
|
-
"@ckeditor/ckeditor5-engine": "45.
|
19
|
-
"@ckeditor/ckeditor5-icons": "45.
|
20
|
-
"@ckeditor/ckeditor5-image": "45.
|
21
|
-
"@ckeditor/ckeditor5-ui": "45.
|
22
|
-
"@ckeditor/ckeditor5-upload": "45.
|
23
|
-
"@ckeditor/ckeditor5-utils": "45.
|
24
|
-
"ckeditor5": "45.
|
16
|
+
"@ckeditor/ckeditor5-cloud-services": "45.1.0-alpha.0",
|
17
|
+
"@ckeditor/ckeditor5-core": "45.1.0-alpha.0",
|
18
|
+
"@ckeditor/ckeditor5-engine": "45.1.0-alpha.0",
|
19
|
+
"@ckeditor/ckeditor5-icons": "45.1.0-alpha.0",
|
20
|
+
"@ckeditor/ckeditor5-image": "45.1.0-alpha.0",
|
21
|
+
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.0",
|
22
|
+
"@ckeditor/ckeditor5-upload": "45.1.0-alpha.0",
|
23
|
+
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.0",
|
24
|
+
"ckeditor5": "45.1.0-alpha.0",
|
25
25
|
"blurhash": "2.0.5",
|
26
26
|
"es-toolkit": "1.32.0"
|
27
27
|
},
|
package/src/ckboxediting.js
CHANGED
@@ -113,7 +113,7 @@ export default class CKBoxEditing extends Plugin {
|
|
113
113
|
* Please make sure your editor configuration is correct.
|
114
114
|
*
|
115
115
|
* @error ckbox-plugin-image-feature-missing
|
116
|
-
* @param {module:core/editor/editor~Editor} editor
|
116
|
+
* @param {module:core/editor/editor~Editor} editor The editor instance.
|
117
117
|
*/
|
118
118
|
logError('ckbox-plugin-image-feature-missing', editor);
|
119
119
|
}
|
package/src/utils.d.ts
CHANGED
@@ -34,10 +34,13 @@ export declare function blurHashToDataUrl(hash?: string): string | undefined;
|
|
34
34
|
* Sends the HTTP request.
|
35
35
|
*
|
36
36
|
* @internal
|
37
|
-
* @param
|
38
|
-
* @param
|
39
|
-
* @param
|
40
|
-
* @param
|
37
|
+
* @param options Configuration options
|
38
|
+
* @param options.url The URL where the request will be sent.
|
39
|
+
* @param options.signal The AbortSignal to abort the request when needed.
|
40
|
+
* @param options.authorization The authorization token for the request.
|
41
|
+
* @param options.method The HTTP method (default: 'GET').
|
42
|
+
* @param options.data Additional data to send.
|
43
|
+
* @param options.onUploadProgress A callback informing about the upload progress.
|
41
44
|
*/
|
42
45
|
export declare function sendHttpRequest({ url, method, data, onUploadProgress, signal, authorization }: {
|
43
46
|
url: URL;
|
package/src/utils.js
CHANGED
@@ -83,10 +83,13 @@ export function blurHashToDataUrl(hash) {
|
|
83
83
|
* Sends the HTTP request.
|
84
84
|
*
|
85
85
|
* @internal
|
86
|
-
* @param
|
87
|
-
* @param
|
88
|
-
* @param
|
89
|
-
* @param
|
86
|
+
* @param options Configuration options
|
87
|
+
* @param options.url The URL where the request will be sent.
|
88
|
+
* @param options.signal The AbortSignal to abort the request when needed.
|
89
|
+
* @param options.authorization The authorization token for the request.
|
90
|
+
* @param options.method The HTTP method (default: 'GET').
|
91
|
+
* @param options.data Additional data to send.
|
92
|
+
* @param options.onUploadProgress A callback informing about the upload progress.
|
90
93
|
*/
|
91
94
|
export function sendHttpRequest({ url, method = 'GET', data, onUploadProgress, signal, authorization }) {
|
92
95
|
const xhr = new XMLHttpRequest();
|