@ckeditor/ckeditor5-ckbox 0.0.0-nightly-20250616.0 → 0.0.0-nightly-20250617.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-ckbox",
3
- "version": "0.0.0-nightly-20250616.0",
3
+ "version": "0.0.0-nightly-20250617.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": "0.0.0-nightly-20250616.0",
17
- "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250616.0",
18
- "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250616.0",
19
- "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250616.0",
20
- "@ckeditor/ckeditor5-image": "0.0.0-nightly-20250616.0",
21
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250616.0",
22
- "@ckeditor/ckeditor5-upload": "0.0.0-nightly-20250616.0",
23
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250616.0",
24
- "ckeditor5": "0.0.0-nightly-20250616.0",
16
+ "@ckeditor/ckeditor5-cloud-services": "0.0.0-nightly-20250617.0",
17
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250617.0",
18
+ "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250617.0",
19
+ "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250617.0",
20
+ "@ckeditor/ckeditor5-image": "0.0.0-nightly-20250617.0",
21
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250617.0",
22
+ "@ckeditor/ckeditor5-upload": "0.0.0-nightly-20250617.0",
23
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250617.0",
24
+ "ckeditor5": "0.0.0-nightly-20250617.0",
25
25
  "blurhash": "2.0.5",
26
26
  "es-toolkit": "1.38.0"
27
27
  },
@@ -6,7 +6,7 @@
6
6
  * @module ckbox/ckboxediting
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import { Range } from 'ckeditor5/src/engine.js';
9
+ import { ModelRange } from 'ckeditor5/src/engine.js';
10
10
  import { logError } from 'ckeditor5/src/utils.js';
11
11
  import { CKBoxCommand } from './ckboxcommand.js';
12
12
  import { CKBoxUploadAdapter } from './ckboxuploadadapter.js';
@@ -283,7 +283,7 @@ function syncDataIdPostFixer(editor) {
283
283
  continue;
284
284
  }
285
285
  const range = entry.type === 'insert' ?
286
- new Range(entry.position, entry.position.getShiftedBy(entry.length)) :
286
+ new ModelRange(entry.position, entry.position.getShiftedBy(entry.length)) :
287
287
  entry.range;
288
288
  const isLinkHrefAttributeRemoval = entry.type === 'attribute' &&
289
289
  entry.attributeKey === 'linkHref' &&
@@ -2,9 +2,9 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- import type { Element } from 'ckeditor5/src/engine.js';
5
+ import type { ModelElement } from 'ckeditor5/src/engine.js';
6
6
  import type { CKBoxConfig } from '../ckboxconfig.js';
7
7
  /**
8
8
  * @internal
9
9
  */
10
- export declare function createEditabilityChecker(allowExternalImagesEditing: CKBoxConfig['allowExternalImagesEditing']): (element: Element) => boolean;
10
+ export declare function createEditabilityChecker(allowExternalImagesEditing: CKBoxConfig['allowExternalImagesEditing']): (element: ModelElement) => boolean;