@ckeditor/ckeditor5-ckbox 45.0.0 → 45.1.0-alpha.1

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 CHANGED
@@ -18,7 +18,7 @@ Where not otherwise indicated, all CKEditor content is authored by CKSource engi
18
18
 
19
19
  The following libraries are included in CKEditor under the [MIT license](https://opensource.org/licenses/MIT):
20
20
 
21
- * blurhash - Copyright (c) 2018 Wolt Enterprises (MIT license).
21
+ * blurhash - Copyright (c) Wolt Enterprises.
22
22
  * es-toolkit - Copyright (c) 2024 Viva Republica, Inc.
23
23
 
24
24
  Trademarks
package/dist/index.js CHANGED
@@ -209,10 +209,13 @@ import { isEqual } from 'es-toolkit/compat';
209
209
  * Sends the HTTP request.
210
210
  *
211
211
  * @internal
212
- * @param config.url the URL where the request will be sent.
213
- * @param config.method The HTTP method.
214
- * @param config.data Additional data to send.
215
- * @param config.onUploadProgress A callback informing about the upload progress.
212
+ * @param options Configuration options
213
+ * @param options.url The URL where the request will be sent.
214
+ * @param options.signal The AbortSignal to abort the request when needed.
215
+ * @param options.authorization The authorization token for the request.
216
+ * @param options.method The HTTP method (default: 'GET').
217
+ * @param options.data Additional data to send.
218
+ * @param options.onUploadProgress A callback informing about the upload progress.
216
219
  */ function sendHttpRequest({ url, method = 'GET', data, onUploadProgress, signal, authorization }) {
217
220
  const xhr = new XMLHttpRequest();
218
221
  xhr.open(method, url.toString());
@@ -1079,7 +1082,7 @@ const COMMAND_FORCE_DISABLE_ID = 'NoPermission';
1079
1082
  * Please make sure your editor configuration is correct.
1080
1083
  *
1081
1084
  * @error ckbox-plugin-image-feature-missing
1082
- * @param {module:core/editor/editor~Editor} editor
1085
+ * @param {module:core/editor/editor~Editor} editor The editor instance.
1083
1086
  */ logError('ckbox-plugin-image-feature-missing', editor);
1084
1087
  }
1085
1088
  }