New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@ckbox/core

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckbox/core

Core functionality of CKBox

latest
npmnpm
Version
2.11.1
Version published
Weekly downloads
2.4K
-26.71%
Maintainers
1
Weekly downloads
 
Created
Source

CKBox

https://ckbox.io/

CKBox is a file management platform that makes working with your files easier while providing an outstanding user experience.

Quick start

Using a build served from the CDN is the simplest and fastest way of embedding CKBox in your application. Additionally, all the scripts served from the CDN are loaded faster, as they are hosted on multiple servers around the globe, shortening the response time.

To start using CKBox on your website, embed the following script element in the HTML code of the page:

<script src="https://cdn.ckbox.io/ckbox/2.11.1/ckbox.js"></script>

Quick implementation example:

<!doctype html>
<html>
	<head>
		<meta charset="UTF-8" />
		<script src="https://cdn.ckbox.io/ckbox/2.11.1/ckbox.js"></script>
	</head>
	<body>
		<div id="ckbox"></div>
		<script>
			// You must provide a valid token URL in order to use the application
			// After registering to CKBox, the fastest way to try out CKBox is to use the development token endpoint:
			// https://ckeditor.com/docs/ckbox/latest/guides/configuration/authentication.html#token-endpoint
			CKBox.mount(document.getElementById("ckbox"), {
				tokenUrl: "https://your.token.url",
			});
		</script>
	</body>
</html>

Integration with CKEditor 5

The code snippet below presents the simplest scenario for integration of CKEditor 5 with CKBox. To read more about the integration, please refer to the CKEditor 5 integration guide.

<!doctype html>
<html>
	<head>
		<meta charset="UTF-8" />
		<script src="https://cdn.ckbox.io/ckbox/2.11.1/ckbox.js"></script>
		<link
			rel="stylesheet"
			href="https://cdn.ckbox.io/ckbox/2.11.1/styles/themes/lark.css"
		/>
		<link rel="stylesheet" href="https://cdn.ckeditor.com/ckeditor5/47.6.1/ckeditor5.css" />
	</head>
	<body>
		<div id="editor"></div>

		<script type="importmap">
			{
				"imports": {
					"ckeditor5": "https://cdn.ckeditor.com/ckeditor5/47.6.1/ckeditor5.js",
					"ckeditor5/": "https://cdn.ckeditor.com/ckeditor5/47.6.1/"
				}
			}
		</script>

		<script type="module">
			import {
				ClassicEditor,
				Essentials,
				CloudServices,
				CKBox,
				CKBoxImageEdit,
				PictureEditing,
				Image,
				ImageUpload,
				ImageUploadEditing,
				ImageUploadProgress,
				LinkEditing,
				Heading,
				Font,
				Bold,
				Italic,
				BlockQuote,
				Paragraph,
				Indent,
				Link,
				List
			} from 'ckeditor5';

			ClassicEditor
				.create( document.querySelector( '#editor' ), {
					plugins: [
						CKBox, CloudServices, Essentials, Bold, Italic, Font, Paragraph, LinkEditing,
						PictureEditing, Image, ImageUploadEditing, ImageUploadProgress, BlockQuote,
						Indent, Heading, Link, List, CKBoxImageEdit, ImageUpload
					],
					ckbox: {
						tokenUrl: 'https://your.token.url',
						theme: 'lark',
					},
					toolbar: [
						'ckbox', 'imageUpload', '|', 'heading', '|', 'undo', 'redo', '|', 'bold', 'italic', '|',
						'blockQuote', 'indent', 'link', '|', 'bulletedList', 'numberedList'
					],
				} )
				.catch( error => {
					console.error( error );
				} );
		</script>
	</body>
</html>

For more advanced integration scenarios, please refer to the CKBox documentation.

Documentation

CKBox documentation includes information about:

  • Enabling CKBox in your application.
  • Integrating CKBox with CKEditor 5.
  • Configuring and customizing CKBox.

You will find ready to use code snippets and live examples there.

License

CKBox (https://ckeditor.com/ckbox/)

Copyright (c) 2021-2026, CKSource Holding sp. z o.o. All rights reserved. CKBox is licensed under a commercial license and is protected by copyright law. For more details about available licensing options please contact us at sales@cksource.com.

Trademarks CKBox is a trademark of CKSource Holding sp. z o.o. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.

Keywords

file manager

FAQs

Package last updated on 31 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts