open-index/open-npm huggingface dataset:
npm package: @join2sail/ckeditor5-build
Description: The custom editor build of CKEditor 5
Latest version: 1.0.0

CKEditor 5 custom editor build
========================================

## Quick start

First, install the build from npm:

```bash
npm install --save @join2sail/ckeditor5-build
```

And use it in your website:

```html
<div id="editor">
	<p>This is the editor content.</p>
</div>
<script src="./node_modules/@join2sail/ckeditor5-build/build/ckeditor.js"></script>
<script>
	CustomEditor
		.create(document.querySelector('#editor'))
		.then(editor => {
			window.editor = editor;
		})
		.catch(error => {
			console.error('There was a problem initializing the editor.', error);
		});
</script>
```

Or in your JavaScript application:

```js
import CustomEditor from '@join2sail/ckeditor5-build';

// Or using the CommonJS version:
// const CustomEditor = require('@join2sail/ckeditor5-build');

CustomEditor
	.create(document.querySelector('#editor'))
	.then(editor => {
		window.editor = editor;
	})
	.catch(error => {
		console.error('There was a problem initializing the editor.', error);
	});
```