@ckeditor/ckeditor5-ckbox 0.0.0-nightly-20231215.0 → 0.0.0-nightly-20231216.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +3 -2
- package/src/augmentation.d.ts +1 -1
- package/src/ckbox.d.ts +3 -3
- package/src/ckbox.js +3 -3
- package/src/ckboxcommand.d.ts +2 -2
- package/src/ckboxcommand.js +3 -3
- package/src/ckboxconfig.d.ts +1 -1
- package/src/ckboxediting.d.ts +3 -3
- package/src/ckboxediting.js +6 -6
- package/src/ckboximageedit/ckboximageeditcommand.d.ts +1 -1
- package/src/ckboximageedit/ckboximageeditcommand.js +7 -7
- package/src/ckboximageedit/ckboximageeditediting.d.ts +4 -4
- package/src/ckboximageedit/ckboximageeditediting.js +5 -5
- package/src/ckboximageedit/ckboximageeditui.d.ts +1 -1
- package/src/ckboximageedit/ckboximageeditui.js +2 -2
- package/src/ckboximageedit/utils.d.ts +2 -2
- package/src/ckboximageedit/utils.js +1 -1
- package/src/ckboximageedit.d.ts +3 -3
- package/src/ckboximageedit.js +3 -3
- package/src/ckboxui.d.ts +1 -1
- package/src/ckboxui.js +2 -2
- package/src/ckboxuploadadapter.d.ts +3 -3
- package/src/ckboxuploadadapter.js +5 -5
- package/src/ckboxutils.d.ts +1 -1
- package/src/ckboxutils.js +3 -3
- package/src/index.d.ts +10 -10
- package/src/index.js +7 -7
- package/src/utils.d.ts +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-ckbox",
|
3
|
-
"version": "0.0.0-nightly-
|
3
|
+
"version": "0.0.0-nightly-20231216.0",
|
4
4
|
"description": "CKBox integration for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -10,9 +10,10 @@
|
|
10
10
|
"ckeditor5-plugin",
|
11
11
|
"ckeditor5-dll"
|
12
12
|
],
|
13
|
+
"type": "module",
|
13
14
|
"main": "src/index.js",
|
14
15
|
"dependencies": {
|
15
|
-
"ckeditor5": "0.0.0-nightly-
|
16
|
+
"ckeditor5": "0.0.0-nightly-20231216.0",
|
16
17
|
"blurhash": "2.0.5",
|
17
18
|
"lodash-es": "4.17.21"
|
18
19
|
},
|
package/src/augmentation.d.ts
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
|
-
import type { CKBox, CKBoxCommand, CKBoxConfig, CKBoxEditing, CKBoxImageEdit, CKBoxImageEditEditing, CKBoxImageEditCommand, CKBoxImageEditUI } from './index';
|
5
|
+
import type { CKBox, CKBoxCommand, CKBoxConfig, CKBoxEditing, CKBoxImageEdit, CKBoxImageEditEditing, CKBoxImageEditCommand, CKBoxImageEditUI } from './index.js';
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
7
7
|
interface EditorConfig {
|
8
8
|
/**
|
package/src/ckbox.d.ts
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
/**
|
6
6
|
* @module ckbox/ckbox
|
7
7
|
*/
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
9
|
-
import CKBoxUI from './ckboxui';
|
10
|
-
import CKBoxEditing from './ckboxediting';
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
9
|
+
import CKBoxUI from './ckboxui.js';
|
10
|
+
import CKBoxEditing from './ckboxediting.js';
|
11
11
|
/**
|
12
12
|
* The CKBox feature, a bridge between the CKEditor 5 WYSIWYG editor and the CKBox file manager and uploader.
|
13
13
|
*
|
package/src/ckbox.js
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
/**
|
6
6
|
* @module ckbox/ckbox
|
7
7
|
*/
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
9
|
-
import CKBoxUI from './ckboxui';
|
10
|
-
import CKBoxEditing from './ckboxediting';
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
9
|
+
import CKBoxUI from './ckboxui.js';
|
10
|
+
import CKBoxEditing from './ckboxediting.js';
|
11
11
|
/**
|
12
12
|
* The CKBox feature, a bridge between the CKEditor 5 WYSIWYG editor and the CKBox file manager and uploader.
|
13
13
|
*
|
package/src/ckboxcommand.d.ts
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
|
-
import { Command, type Editor } from 'ckeditor5/src/core';
|
6
|
-
import type { CKBoxAssetDefinition, CKBoxAssetImageAttributesDefinition, CKBoxRawAssetDefinition } from './ckboxconfig';
|
5
|
+
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
6
|
+
import type { CKBoxAssetDefinition, CKBoxAssetImageAttributesDefinition, CKBoxRawAssetDefinition } from './ckboxconfig.js';
|
7
7
|
/**
|
8
8
|
* The CKBox command. It is used by the {@link module:ckbox/ckboxediting~CKBoxEditing CKBox editing feature} to open the CKBox file manager.
|
9
9
|
* The file manager allows inserting an image or a link to a file into the editor content.
|
package/src/ckboxcommand.js
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
|
-
import { Command } from 'ckeditor5/src/core';
|
6
|
-
import { createElement, toMap } from 'ckeditor5/src/utils';
|
7
|
-
import { blurHashToDataUrl, getImageUrls } from './utils';
|
5
|
+
import { Command } from 'ckeditor5/src/core.js';
|
6
|
+
import { createElement, toMap } from 'ckeditor5/src/utils.js';
|
7
|
+
import { blurHashToDataUrl, getImageUrls } from './utils.js';
|
8
8
|
// Defines the waiting time (in milliseconds) for inserting the chosen asset into the model. The chosen asset is temporarily stored in the
|
9
9
|
// `CKBoxCommand#_chosenAssets` and it is removed from there automatically after this time. See `CKBoxCommand#_chosenAssets` for more
|
10
10
|
// details.
|
package/src/ckboxconfig.d.ts
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
* @module ckbox/ckboxconfig
|
7
7
|
*/
|
8
8
|
import type { TokenUrl } from '@ckeditor/ckeditor5-cloud-services';
|
9
|
-
import type { ArrayOrItem } from 'ckeditor5/src/utils';
|
9
|
+
import type { ArrayOrItem } from 'ckeditor5/src/utils.js';
|
10
10
|
/**
|
11
11
|
* The configuration of the {@link module:ckbox/ckbox~CKBox CKBox feature}.
|
12
12
|
*
|
package/src/ckboxediting.d.ts
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
|
-
import { Plugin } from 'ckeditor5/src/core';
|
6
|
-
import CKBoxUploadAdapter from './ckboxuploadadapter';
|
7
|
-
import CKBoxUtils from './ckboxutils';
|
5
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
6
|
+
import CKBoxUploadAdapter from './ckboxuploadadapter.js';
|
7
|
+
import CKBoxUtils from './ckboxutils.js';
|
8
8
|
/**
|
9
9
|
* The CKBox editing feature. It introduces the {@link module:ckbox/ckboxcommand~CKBoxCommand CKBox command} and
|
10
10
|
* {@link module:ckbox/ckboxuploadadapter~CKBoxUploadAdapter CKBox upload adapter}.
|
package/src/ckboxediting.js
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
|
-
import { Plugin } from 'ckeditor5/src/core';
|
6
|
-
import { Range } from 'ckeditor5/src/engine';
|
7
|
-
import { logError } from 'ckeditor5/src/utils';
|
8
|
-
import CKBoxCommand from './ckboxcommand';
|
9
|
-
import CKBoxUploadAdapter from './ckboxuploadadapter';
|
10
|
-
import CKBoxUtils from './ckboxutils';
|
5
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
6
|
+
import { Range } from 'ckeditor5/src/engine.js';
|
7
|
+
import { logError } from 'ckeditor5/src/utils.js';
|
8
|
+
import CKBoxCommand from './ckboxcommand.js';
|
9
|
+
import CKBoxUploadAdapter from './ckboxuploadadapter.js';
|
10
|
+
import CKBoxUtils from './ckboxutils.js';
|
11
11
|
/**
|
12
12
|
* The CKBox editing feature. It introduces the {@link module:ckbox/ckboxcommand~CKBoxCommand CKBox command} and
|
13
13
|
* {@link module:ckbox/ckboxuploadadapter~CKBoxUploadAdapter CKBox upload adapter}.
|
@@ -6,14 +6,14 @@
|
|
6
6
|
/**
|
7
7
|
* @module ckbox/ckboximageedit/ckboximageeditcommand
|
8
8
|
*/
|
9
|
-
import { Command, PendingActions } from 'ckeditor5/src/core';
|
10
|
-
import { CKEditorError, abortableDebounce, createElement, retry } from 'ckeditor5/src/utils';
|
11
|
-
import { Notification } from 'ckeditor5/src/ui';
|
9
|
+
import { Command, PendingActions } from 'ckeditor5/src/core.js';
|
10
|
+
import { CKEditorError, abortableDebounce, createElement, retry } from 'ckeditor5/src/utils.js';
|
11
|
+
import { Notification } from 'ckeditor5/src/ui.js';
|
12
12
|
import { isEqual } from 'lodash-es';
|
13
|
-
import { sendHttpRequest } from '../utils';
|
14
|
-
import { prepareImageAssetAttributes } from '../ckboxcommand';
|
15
|
-
import { createEditabilityChecker } from './utils';
|
16
|
-
import CKBoxUtils from '../ckboxutils';
|
13
|
+
import { sendHttpRequest } from '../utils.js';
|
14
|
+
import { prepareImageAssetAttributes } from '../ckboxcommand.js';
|
15
|
+
import { createEditabilityChecker } from './utils.js';
|
16
|
+
import CKBoxUtils from '../ckboxutils.js';
|
17
17
|
/**
|
18
18
|
* The CKBox edit image command.
|
19
19
|
*
|
@@ -5,10 +5,10 @@
|
|
5
5
|
/**
|
6
6
|
* @module ckbox/ckboximageedit/ckboximageeditediting
|
7
7
|
*/
|
8
|
-
import { PendingActions, Plugin } from 'ckeditor5/src/core';
|
9
|
-
import { Notification } from 'ckeditor5/src/ui';
|
10
|
-
import CKBoxEditing from '../ckboxediting';
|
11
|
-
import CKBoxUtils from '../ckboxutils';
|
8
|
+
import { PendingActions, Plugin } from 'ckeditor5/src/core.js';
|
9
|
+
import { Notification } from 'ckeditor5/src/ui.js';
|
10
|
+
import CKBoxEditing from '../ckboxediting.js';
|
11
|
+
import CKBoxUtils from '../ckboxutils.js';
|
12
12
|
/**
|
13
13
|
* The CKBox image edit editing plugin.
|
14
14
|
*/
|
@@ -5,11 +5,11 @@
|
|
5
5
|
/**
|
6
6
|
* @module ckbox/ckboximageedit/ckboximageeditediting
|
7
7
|
*/
|
8
|
-
import { PendingActions, Plugin } from 'ckeditor5/src/core';
|
9
|
-
import { Notification } from 'ckeditor5/src/ui';
|
10
|
-
import CKBoxImageEditCommand from './ckboximageeditcommand';
|
11
|
-
import CKBoxEditing from '../ckboxediting';
|
12
|
-
import CKBoxUtils from '../ckboxutils';
|
8
|
+
import { PendingActions, Plugin } from 'ckeditor5/src/core.js';
|
9
|
+
import { Notification } from 'ckeditor5/src/ui.js';
|
10
|
+
import CKBoxImageEditCommand from './ckboximageeditcommand.js';
|
11
|
+
import CKBoxEditing from '../ckboxediting.js';
|
12
|
+
import CKBoxUtils from '../ckboxutils.js';
|
13
13
|
/**
|
14
14
|
* The CKBox image edit editing plugin.
|
15
15
|
*/
|
@@ -5,8 +5,8 @@
|
|
5
5
|
/**
|
6
6
|
* @module ckbox/ckboximageedit/ckboximageeditui
|
7
7
|
*/
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
9
|
-
import { ButtonView } from 'ckeditor5/src/ui';
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
9
|
+
import { ButtonView } from 'ckeditor5/src/ui.js';
|
10
10
|
import ckboxImageEditIcon from '../../theme/icons/ckbox-image-edit.svg';
|
11
11
|
/**
|
12
12
|
* The UI plugin of the CKBox image edit feature.
|
@@ -2,8 +2,8 @@
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
|
-
import type { Element } from 'ckeditor5/src/engine';
|
6
|
-
import type { CKBoxConfig } from '../ckboxconfig';
|
5
|
+
import type { Element } from 'ckeditor5/src/engine.js';
|
6
|
+
import type { CKBoxConfig } from '../ckboxconfig.js';
|
7
7
|
/**
|
8
8
|
* @internal
|
9
9
|
*/
|
package/src/ckboximageedit.d.ts
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
/**
|
6
6
|
* @module ckbox/ckboximageedit
|
7
7
|
*/
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
9
|
-
import CKBoxImageEditEditing from './ckboximageedit/ckboximageeditediting';
|
10
|
-
import CKBoxImageEditUI from './ckboximageedit/ckboximageeditui';
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
9
|
+
import CKBoxImageEditEditing from './ckboximageedit/ckboximageeditediting.js';
|
10
|
+
import CKBoxImageEditUI from './ckboximageedit/ckboximageeditui.js';
|
11
11
|
import '../theme/ckboximageedit.css';
|
12
12
|
/**
|
13
13
|
* The CKBox image edit feature.
|
package/src/ckboximageedit.js
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
/**
|
6
6
|
* @module ckbox/ckboximageedit
|
7
7
|
*/
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
9
|
-
import CKBoxImageEditEditing from './ckboximageedit/ckboximageeditediting';
|
10
|
-
import CKBoxImageEditUI from './ckboximageedit/ckboximageeditui';
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
9
|
+
import CKBoxImageEditEditing from './ckboximageedit/ckboximageeditediting.js';
|
10
|
+
import CKBoxImageEditUI from './ckboximageedit/ckboximageeditui.js';
|
11
11
|
import '../theme/ckboximageedit.css';
|
12
12
|
/**
|
13
13
|
* The CKBox image edit feature.
|
package/src/ckboxui.d.ts
CHANGED
package/src/ckboxui.js
CHANGED
@@ -5,8 +5,8 @@
|
|
5
5
|
/**
|
6
6
|
* @module ckbox/ckboxui
|
7
7
|
*/
|
8
|
-
import { icons, Plugin } from 'ckeditor5/src/core';
|
9
|
-
import { ButtonView } from 'ckeditor5/src/ui';
|
8
|
+
import { icons, Plugin } from 'ckeditor5/src/core.js';
|
9
|
+
import { ButtonView } from 'ckeditor5/src/ui.js';
|
10
10
|
import browseFilesIcon from '../theme/icons/browse-files.svg';
|
11
11
|
/**
|
12
12
|
* The CKBoxUI plugin. It introduces the `'ckbox'` toolbar button.
|
@@ -5,9 +5,9 @@
|
|
5
5
|
/**
|
6
6
|
* @module ckbox/ckboxuploadadapter
|
7
7
|
*/
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
9
|
-
import { FileRepository } from 'ckeditor5/src/upload';
|
10
|
-
import CKBoxEditing from './ckboxediting';
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
9
|
+
import { FileRepository } from 'ckeditor5/src/upload.js';
|
10
|
+
import CKBoxEditing from './ckboxediting.js';
|
11
11
|
/**
|
12
12
|
* A plugin that enables file uploads in CKEditor 5 using the CKBox server–side connector.
|
13
13
|
* See the {@glink features/file-management/ckbox CKBox file manager integration} guide to learn how to configure
|
@@ -6,11 +6,11 @@
|
|
6
6
|
/**
|
7
7
|
* @module ckbox/ckboxuploadadapter
|
8
8
|
*/
|
9
|
-
import { Plugin } from 'ckeditor5/src/core';
|
10
|
-
import { FileRepository } from 'ckeditor5/src/upload';
|
11
|
-
import CKBoxEditing from './ckboxediting';
|
12
|
-
import { getImageUrls, sendHttpRequest } from './utils';
|
13
|
-
import CKBoxUtils from './ckboxutils';
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
10
|
+
import { FileRepository } from 'ckeditor5/src/upload.js';
|
11
|
+
import CKBoxEditing from './ckboxediting.js';
|
12
|
+
import { getImageUrls, sendHttpRequest } from './utils.js';
|
13
|
+
import CKBoxUtils from './ckboxutils.js';
|
14
14
|
/**
|
15
15
|
* A plugin that enables file uploads in CKEditor 5 using the CKBox server–side connector.
|
16
16
|
* See the {@glink features/file-management/ckbox CKBox file manager integration} guide to learn how to configure
|
package/src/ckboxutils.d.ts
CHANGED
package/src/ckboxutils.js
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
|
-
import { CKEditorError, logError } from 'ckeditor5/src/utils';
|
6
|
-
import { Plugin } from 'ckeditor5/src/core';
|
7
|
-
import { convertMimeTypeToExtension, getContentTypeOfUrl, getFileExtension, getWorkspaceId, sendHttpRequest } from './utils';
|
5
|
+
import { CKEditorError, logError } from 'ckeditor5/src/utils.js';
|
6
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
7
|
+
import { convertMimeTypeToExtension, getContentTypeOfUrl, getFileExtension, getWorkspaceId, sendHttpRequest } from './utils.js';
|
8
8
|
const DEFAULT_CKBOX_THEME_NAME = 'lark';
|
9
9
|
/**
|
10
10
|
* The CKBox utilities plugin.
|
package/src/index.d.ts
CHANGED
@@ -5,13 +5,13 @@
|
|
5
5
|
/**
|
6
6
|
* @module ckbox
|
7
7
|
*/
|
8
|
-
export { default as CKBox } from './ckbox';
|
9
|
-
export { default as CKBoxEditing } from './ckboxediting';
|
10
|
-
export { default as CKBoxUI } from './ckboxui';
|
11
|
-
export { default as CKBoxImageEditEditing } from './ckboximageedit/ckboximageeditediting';
|
12
|
-
export { default as CKBoxImageEditUI } from './ckboximageedit/ckboximageeditui';
|
13
|
-
export { default as CKBoxImageEdit } from './ckboximageedit';
|
14
|
-
export type { default as CKBoxCommand } from './ckboxcommand';
|
15
|
-
export type { default as CKBoxImageEditCommand } from './ckboximageedit/ckboximageeditcommand';
|
16
|
-
export type { CKBoxConfig } from './ckboxconfig';
|
17
|
-
import './augmentation';
|
8
|
+
export { default as CKBox } from './ckbox.js';
|
9
|
+
export { default as CKBoxEditing } from './ckboxediting.js';
|
10
|
+
export { default as CKBoxUI } from './ckboxui.js';
|
11
|
+
export { default as CKBoxImageEditEditing } from './ckboximageedit/ckboximageeditediting.js';
|
12
|
+
export { default as CKBoxImageEditUI } from './ckboximageedit/ckboximageeditui.js';
|
13
|
+
export { default as CKBoxImageEdit } from './ckboximageedit.js';
|
14
|
+
export type { default as CKBoxCommand } from './ckboxcommand.js';
|
15
|
+
export type { default as CKBoxImageEditCommand } from './ckboximageedit/ckboximageeditcommand.js';
|
16
|
+
export type { CKBoxConfig } from './ckboxconfig.js';
|
17
|
+
import './augmentation.js';
|
package/src/index.js
CHANGED
@@ -5,10 +5,10 @@
|
|
5
5
|
/**
|
6
6
|
* @module ckbox
|
7
7
|
*/
|
8
|
-
export { default as CKBox } from './ckbox';
|
9
|
-
export { default as CKBoxEditing } from './ckboxediting';
|
10
|
-
export { default as CKBoxUI } from './ckboxui';
|
11
|
-
export { default as CKBoxImageEditEditing } from './ckboximageedit/ckboximageeditediting';
|
12
|
-
export { default as CKBoxImageEditUI } from './ckboximageedit/ckboximageeditui';
|
13
|
-
export { default as CKBoxImageEdit } from './ckboximageedit';
|
14
|
-
import './augmentation';
|
8
|
+
export { default as CKBox } from './ckbox.js';
|
9
|
+
export { default as CKBoxEditing } from './ckboxediting.js';
|
10
|
+
export { default as CKBoxUI } from './ckboxui.js';
|
11
|
+
export { default as CKBoxImageEditEditing } from './ckboximageedit/ckboximageeditediting.js';
|
12
|
+
export { default as CKBoxImageEditUI } from './ckboximageedit/ckboximageeditui.js';
|
13
|
+
export { default as CKBoxImageEdit } from './ckboximageedit.js';
|
14
|
+
import './augmentation.js';
|
package/src/utils.d.ts
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
* @module ckbox/utils
|
7
7
|
*/
|
8
8
|
import type { InitializedToken } from '@ckeditor/ckeditor5-cloud-services';
|
9
|
-
import type { CKBoxImageUrls } from './ckboxconfig';
|
9
|
+
import type { CKBoxImageUrls } from './ckboxconfig.js';
|
10
10
|
/**
|
11
11
|
* Converts image source set provided by the CKBox into an object containing:
|
12
12
|
* - responsive URLs for the "webp" image format,
|