1.0.0 • Published 2 years ago

@join2sail/ckeditor5-build v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

CKEditor 5 custom editor build

Quick start

First, install the build from npm:

npm install --save @join2sail/ckeditor5-build

And use it in your website:

<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:

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);
	});
1.0.0

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago