@ckeditor/ckeditor5-ckbox 0.0.0-nightly-20250604.0 → 0.0.0-nightly-20250606.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/build/ckbox.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
- package/src/ckbox.d.ts +3 -3
- package/src/ckbox.js +3 -3
- package/src/ckboxcommand.d.ts +1 -1
- package/src/ckboxcommand.js +1 -1
- package/src/ckboxediting.d.ts +3 -3
- package/src/ckboxediting.js +4 -4
- package/src/ckboximageedit/ckboximageeditcommand.d.ts +1 -1
- package/src/ckboximageedit/ckboximageeditcommand.js +2 -2
- package/src/ckboximageedit/ckboximageeditediting.d.ts +3 -3
- package/src/ckboximageedit/ckboximageeditediting.js +4 -4
- package/src/ckboximageedit/ckboximageeditui.d.ts +1 -1
- package/src/ckboximageedit/ckboximageeditui.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 +1 -1
- package/src/ckboxuploadadapter.d.ts +2 -2
- package/src/ckboxuploadadapter.js +3 -3
- package/src/ckboxutils.d.ts +1 -1
- package/src/ckboxutils.js +1 -1
- package/src/index.d.ts +8 -8
- package/src/index.js +8 -6
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-20250606.0",
|
4
4
|
"description": "CKBox integration for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -13,17 +13,17 @@
|
|
13
13
|
"type": "module",
|
14
14
|
"main": "src/index.js",
|
15
15
|
"dependencies": {
|
16
|
-
"@ckeditor/ckeditor5-cloud-services": "0.0.0-nightly-
|
17
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
18
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
19
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
20
|
-
"@ckeditor/ckeditor5-image": "0.0.0-nightly-
|
21
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
22
|
-
"@ckeditor/ckeditor5-upload": "0.0.0-nightly-
|
23
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
24
|
-
"ckeditor5": "0.0.0-nightly-
|
16
|
+
"@ckeditor/ckeditor5-cloud-services": "0.0.0-nightly-20250606.0",
|
17
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250606.0",
|
18
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250606.0",
|
19
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250606.0",
|
20
|
+
"@ckeditor/ckeditor5-image": "0.0.0-nightly-20250606.0",
|
21
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250606.0",
|
22
|
+
"@ckeditor/ckeditor5-upload": "0.0.0-nightly-20250606.0",
|
23
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250606.0",
|
24
|
+
"ckeditor5": "0.0.0-nightly-20250606.0",
|
25
25
|
"blurhash": "2.0.5",
|
26
|
-
"es-toolkit": "1.
|
26
|
+
"es-toolkit": "1.38.0"
|
27
27
|
},
|
28
28
|
"author": "CKSource (http://cksource.com/)",
|
29
29
|
"license": "SEE LICENSE IN LICENSE.md",
|
package/src/ckbox.d.ts
CHANGED
@@ -6,8 +6,8 @@
|
|
6
6
|
* @module ckbox/ckbox
|
7
7
|
*/
|
8
8
|
import { Plugin } from 'ckeditor5/src/core.js';
|
9
|
-
import CKBoxUI from './ckboxui.js';
|
10
|
-
import CKBoxEditing from './ckboxediting.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
|
*
|
@@ -21,7 +21,7 @@ import CKBoxEditing from './ckboxediting.js';
|
|
21
21
|
* Check out the {@glink features/images/image-upload/image-upload Image upload} guide to learn about other ways to upload
|
22
22
|
* images into CKEditor 5.
|
23
23
|
*/
|
24
|
-
export
|
24
|
+
export declare class CKBox extends Plugin {
|
25
25
|
/**
|
26
26
|
* @inheritDoc
|
27
27
|
*/
|
package/src/ckbox.js
CHANGED
@@ -6,8 +6,8 @@
|
|
6
6
|
* @module ckbox/ckbox
|
7
7
|
*/
|
8
8
|
import { Plugin } from 'ckeditor5/src/core.js';
|
9
|
-
import CKBoxUI from './ckboxui.js';
|
10
|
-
import CKBoxEditing from './ckboxediting.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
|
*
|
@@ -21,7 +21,7 @@ import CKBoxEditing from './ckboxediting.js';
|
|
21
21
|
* Check out the {@glink features/images/image-upload/image-upload Image upload} guide to learn about other ways to upload
|
22
22
|
* images into CKEditor 5.
|
23
23
|
*/
|
24
|
-
export
|
24
|
+
export class CKBox extends Plugin {
|
25
25
|
/**
|
26
26
|
* @inheritDoc
|
27
27
|
*/
|
package/src/ckboxcommand.d.ts
CHANGED
@@ -18,7 +18,7 @@ import type { CKBoxAssetDefinition, CKBoxAssetImageAttributesDefinition, CKBoxRa
|
|
18
18
|
* - To insert links to other files it uses the {@link module:link/linkcommand~LinkCommand 'link'} command from the
|
19
19
|
* {@link module:link/link~Link Link feature}.
|
20
20
|
*/
|
21
|
-
export
|
21
|
+
export declare class CKBoxCommand extends Command {
|
22
22
|
value: boolean;
|
23
23
|
/**
|
24
24
|
* A set of all chosen assets. They are stored temporarily and they are automatically removed 1 second after being chosen.
|
package/src/ckboxcommand.js
CHANGED
@@ -23,7 +23,7 @@ const ASSET_INSERTION_WAIT_TIMEOUT = 1000;
|
|
23
23
|
* - To insert links to other files it uses the {@link module:link/linkcommand~LinkCommand 'link'} command from the
|
24
24
|
* {@link module:link/link~Link Link feature}.
|
25
25
|
*/
|
26
|
-
export
|
26
|
+
export class CKBoxCommand extends Command {
|
27
27
|
/**
|
28
28
|
* A set of all chosen assets. They are stored temporarily and they are automatically removed 1 second after being chosen.
|
29
29
|
* Chosen assets have to be "remembered" for a while to be able to map the given asset with the element inserted into the model.
|
package/src/ckboxediting.d.ts
CHANGED
@@ -6,13 +6,13 @@
|
|
6
6
|
* @module ckbox/ckboxediting
|
7
7
|
*/
|
8
8
|
import { Plugin } from 'ckeditor5/src/core.js';
|
9
|
-
import CKBoxUploadAdapter from './ckboxuploadadapter.js';
|
10
|
-
import CKBoxUtils from './ckboxutils.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}.
|
14
14
|
*/
|
15
|
-
export
|
15
|
+
export declare class CKBoxEditing extends Plugin {
|
16
16
|
/**
|
17
17
|
* @inheritDoc
|
18
18
|
*/
|
package/src/ckboxediting.js
CHANGED
@@ -8,16 +8,16 @@
|
|
8
8
|
import { Plugin } from 'ckeditor5/src/core.js';
|
9
9
|
import { Range } from 'ckeditor5/src/engine.js';
|
10
10
|
import { logError } from 'ckeditor5/src/utils.js';
|
11
|
-
import CKBoxCommand from './ckboxcommand.js';
|
12
|
-
import CKBoxUploadAdapter from './ckboxuploadadapter.js';
|
13
|
-
import CKBoxUtils from './ckboxutils.js';
|
11
|
+
import { CKBoxCommand } from './ckboxcommand.js';
|
12
|
+
import { CKBoxUploadAdapter } from './ckboxuploadadapter.js';
|
13
|
+
import { CKBoxUtils } from './ckboxutils.js';
|
14
14
|
import { sendHttpRequest } from './utils.js';
|
15
15
|
const COMMAND_FORCE_DISABLE_ID = 'NoPermission';
|
16
16
|
/**
|
17
17
|
* The CKBox editing feature. It introduces the {@link module:ckbox/ckboxcommand~CKBoxCommand CKBox command} and
|
18
18
|
* {@link module:ckbox/ckboxuploadadapter~CKBoxUploadAdapter CKBox upload adapter}.
|
19
19
|
*/
|
20
|
-
export
|
20
|
+
export class CKBoxEditing extends Plugin {
|
21
21
|
/**
|
22
22
|
* @inheritDoc
|
23
23
|
*/
|
@@ -11,7 +11,7 @@ import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
11
11
|
*
|
12
12
|
* Opens the CKBox dialog for editing the image.
|
13
13
|
*/
|
14
|
-
export
|
14
|
+
export declare class CKBoxImageEditCommand extends Command {
|
15
15
|
/**
|
16
16
|
* Flag indicating whether the command is active, i.e. dialog is open.
|
17
17
|
*/
|
@@ -12,13 +12,13 @@ import { isEqual } from 'es-toolkit/compat';
|
|
12
12
|
import { sendHttpRequest } from '../utils.js';
|
13
13
|
import { prepareImageAssetAttributes } from '../ckboxcommand.js';
|
14
14
|
import { createEditabilityChecker } from './utils.js';
|
15
|
-
import CKBoxUtils from '../ckboxutils.js';
|
15
|
+
import { CKBoxUtils } from '../ckboxutils.js';
|
16
16
|
/**
|
17
17
|
* The CKBox edit image command.
|
18
18
|
*
|
19
19
|
* Opens the CKBox dialog for editing the image.
|
20
20
|
*/
|
21
|
-
export
|
21
|
+
export class CKBoxImageEditCommand extends Command {
|
22
22
|
/**
|
23
23
|
* The DOM element that acts as a mounting point for the CKBox Edit Image dialog.
|
24
24
|
*/
|
@@ -7,12 +7,12 @@
|
|
7
7
|
*/
|
8
8
|
import { PendingActions, Plugin } from 'ckeditor5/src/core.js';
|
9
9
|
import { Notification } from 'ckeditor5/src/ui.js';
|
10
|
-
import CKBoxEditing from '../ckboxediting.js';
|
11
|
-
import CKBoxUtils from '../ckboxutils.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
|
*/
|
15
|
-
export
|
15
|
+
export declare class CKBoxImageEditEditing extends Plugin {
|
16
16
|
/**
|
17
17
|
* @inheritDoc
|
18
18
|
*/
|
@@ -7,13 +7,13 @@
|
|
7
7
|
*/
|
8
8
|
import { PendingActions, Plugin } from 'ckeditor5/src/core.js';
|
9
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';
|
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
|
*/
|
16
|
-
export
|
16
|
+
export class CKBoxImageEditEditing extends Plugin {
|
17
17
|
/**
|
18
18
|
* @inheritDoc
|
19
19
|
*/
|
@@ -12,7 +12,7 @@ import { Plugin } from 'ckeditor5/src/core.js';
|
|
12
12
|
* It registers the `'ckboxImageEdit'` UI button in the editor's {@link module:ui/componentfactory~ComponentFactory component factory}
|
13
13
|
* that allows you to open the CKBox dialog and edit the image.
|
14
14
|
*/
|
15
|
-
export
|
15
|
+
export declare class CKBoxImageEditUI extends Plugin {
|
16
16
|
/**
|
17
17
|
* @inheritDoc
|
18
18
|
*/
|
@@ -14,7 +14,7 @@ import { IconCkboxImageEdit } from 'ckeditor5/src/icons.js';
|
|
14
14
|
* It registers the `'ckboxImageEdit'` UI button in the editor's {@link module:ui/componentfactory~ComponentFactory component factory}
|
15
15
|
* that allows you to open the CKBox dialog and edit the image.
|
16
16
|
*/
|
17
|
-
export
|
17
|
+
export class CKBoxImageEditUI extends Plugin {
|
18
18
|
/**
|
19
19
|
* @inheritDoc
|
20
20
|
*/
|
package/src/ckboximageedit.d.ts
CHANGED
@@ -6,13 +6,13 @@
|
|
6
6
|
* @module ckbox/ckboximageedit
|
7
7
|
*/
|
8
8
|
import { Plugin } from 'ckeditor5/src/core.js';
|
9
|
-
import CKBoxImageEditEditing from './ckboximageedit/ckboximageeditediting.js';
|
10
|
-
import CKBoxImageEditUI from './ckboximageedit/ckboximageeditui.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.
|
14
14
|
*/
|
15
|
-
export
|
15
|
+
export declare class CKBoxImageEdit extends Plugin {
|
16
16
|
/**
|
17
17
|
* @inheritDoc
|
18
18
|
*/
|
package/src/ckboximageedit.js
CHANGED
@@ -6,13 +6,13 @@
|
|
6
6
|
* @module ckbox/ckboximageedit
|
7
7
|
*/
|
8
8
|
import { Plugin } from 'ckeditor5/src/core.js';
|
9
|
-
import CKBoxImageEditEditing from './ckboximageedit/ckboximageeditediting.js';
|
10
|
-
import CKBoxImageEditUI from './ckboximageedit/ckboximageeditui.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.
|
14
14
|
*/
|
15
|
-
export
|
15
|
+
export class CKBoxImageEdit extends Plugin {
|
16
16
|
/**
|
17
17
|
* @inheritDoc
|
18
18
|
*/
|
package/src/ckboxui.d.ts
CHANGED
@@ -16,7 +16,7 @@ import { Plugin } from 'ckeditor5/src/core.js';
|
|
16
16
|
*
|
17
17
|
* It also integrates with the `insertImage` toolbar component and `menuBar:insertImage` menu component.
|
18
18
|
*/
|
19
|
-
export
|
19
|
+
export declare class CKBoxUI extends Plugin {
|
20
20
|
/**
|
21
21
|
* @inheritDoc
|
22
22
|
*/
|
package/src/ckboxui.js
CHANGED
@@ -18,7 +18,7 @@ import { IconBrowseFiles, IconImageAssetManager } from 'ckeditor5/src/icons.js';
|
|
18
18
|
*
|
19
19
|
* It also integrates with the `insertImage` toolbar component and `menuBar:insertImage` menu component.
|
20
20
|
*/
|
21
|
-
export
|
21
|
+
export class CKBoxUI extends Plugin {
|
22
22
|
/**
|
23
23
|
* @inheritDoc
|
24
24
|
*/
|
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
import { Plugin } from 'ckeditor5/src/core.js';
|
9
9
|
import { FileRepository } from 'ckeditor5/src/upload.js';
|
10
|
-
import CKBoxEditing from './ckboxediting.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
|
@@ -17,7 +17,7 @@ import CKBoxEditing from './ckboxediting.js';
|
|
17
17
|
* Check out the {@glink features/images/image-upload/image-upload Image upload overview} guide to learn about
|
18
18
|
* other ways to upload images into CKEditor 5.
|
19
19
|
*/
|
20
|
-
export
|
20
|
+
export declare class CKBoxUploadAdapter extends Plugin {
|
21
21
|
/**
|
22
22
|
* @inheritDoc
|
23
23
|
*/
|
@@ -7,9 +7,9 @@
|
|
7
7
|
*/
|
8
8
|
import { Plugin } from 'ckeditor5/src/core.js';
|
9
9
|
import { FileRepository } from 'ckeditor5/src/upload.js';
|
10
|
-
import CKBoxEditing from './ckboxediting.js';
|
10
|
+
import { CKBoxEditing } from './ckboxediting.js';
|
11
11
|
import { getImageUrls, sendHttpRequest } from './utils.js';
|
12
|
-
import CKBoxUtils from './ckboxutils.js';
|
12
|
+
import { CKBoxUtils } from './ckboxutils.js';
|
13
13
|
/**
|
14
14
|
* A plugin that enables file uploads in CKEditor 5 using the CKBox server–side connector.
|
15
15
|
* See the {@glink features/file-management/ckbox CKBox file manager integration} guide to learn how to configure
|
@@ -19,7 +19,7 @@ import CKBoxUtils from './ckboxutils.js';
|
|
19
19
|
* Check out the {@glink features/images/image-upload/image-upload Image upload overview} guide to learn about
|
20
20
|
* other ways to upload images into CKEditor 5.
|
21
21
|
*/
|
22
|
-
export
|
22
|
+
export class CKBoxUploadAdapter extends Plugin {
|
23
23
|
/**
|
24
24
|
* @inheritDoc
|
25
25
|
*/
|
package/src/ckboxutils.d.ts
CHANGED
package/src/ckboxutils.js
CHANGED
package/src/index.d.ts
CHANGED
@@ -5,13 +5,13 @@
|
|
5
5
|
/**
|
6
6
|
* @module ckbox
|
7
7
|
*/
|
8
|
-
export {
|
9
|
-
export {
|
10
|
-
export {
|
11
|
-
export {
|
12
|
-
export {
|
13
|
-
export {
|
14
|
-
export
|
15
|
-
export
|
8
|
+
export { CKBox } from './ckbox.js';
|
9
|
+
export { CKBoxEditing } from './ckboxediting.js';
|
10
|
+
export { CKBoxUI } from './ckboxui.js';
|
11
|
+
export { CKBoxImageEditEditing } from './ckboximageedit/ckboximageeditediting.js';
|
12
|
+
export { CKBoxImageEditUI } from './ckboximageedit/ckboximageeditui.js';
|
13
|
+
export { CKBoxImageEdit } from './ckboximageedit.js';
|
14
|
+
export { CKBoxCommand } from './ckboxcommand.js';
|
15
|
+
export { CKBoxImageEditCommand } from './ckboximageedit/ckboximageeditcommand.js';
|
16
16
|
export type { CKBoxConfig } from './ckboxconfig.js';
|
17
17
|
import './augmentation.js';
|
package/src/index.js
CHANGED
@@ -5,10 +5,12 @@
|
|
5
5
|
/**
|
6
6
|
* @module ckbox
|
7
7
|
*/
|
8
|
-
export {
|
9
|
-
export {
|
10
|
-
export {
|
11
|
-
export {
|
12
|
-
export {
|
13
|
-
export {
|
8
|
+
export { CKBox } from './ckbox.js';
|
9
|
+
export { CKBoxEditing } from './ckboxediting.js';
|
10
|
+
export { CKBoxUI } from './ckboxui.js';
|
11
|
+
export { CKBoxImageEditEditing } from './ckboximageedit/ckboximageeditediting.js';
|
12
|
+
export { CKBoxImageEditUI } from './ckboximageedit/ckboximageeditui.js';
|
13
|
+
export { CKBoxImageEdit } from './ckboximageedit.js';
|
14
|
+
export { CKBoxCommand } from './ckboxcommand.js';
|
15
|
+
export { CKBoxImageEditCommand } from './ckboximageedit/ckboximageeditcommand.js';
|
14
16
|
import './augmentation.js';
|