0.1.0-beta.5 • Published 6 years ago
@darovic/cdb-ckeditor v0.1.0-beta.5
CDB implementation of the CKEditor5 classic editor
A modified variant of the classic editor build for CKEditor 5. Read more about the (original) classic editor build and see the (original) demo.
Documentation
See:
- Installation for how to install this package and what it contains.
- Basic API for how to create an editor and interact with it.
- Configuration for how to configure the editor.
- Creating custom builds for how to customize the build (configure and rebuild the editor bundle).
Quick start
First, install the build from npm:
npm install --save @darovic/ckeditor-cdb
And use it in your website:
<div id="editor">
<p>This is the editor content.</p>
</div>
<script src="./node_modules/@darovic/ckeditor-cdb/build/ckeditor.js"></script>
<script>
ClassicEditor
.create( document.querySelector( '#editor' ) )
.then( editor => {
window.editor = editor;
} )
.catch( err => {
console.error( err.stack );
} );
</script>
Or in your JavaScript application:
import ClassicEditor from '@darovic/ckeditor-cdb';
// Or using the CommonJS version:
// const ClassicEditor = require( '@darovic/ckeditor-cdb' );
ClassicEditor
.create( document.querySelector( '#editor' ) )
.then( editor => {
window.editor = editor;
} )
.catch( err => {
console.error( err.stack );
} );
License
Licensed under the GPL, LGPL and MPL licenses, at your choice. For full details about the license, please check the LICENSE.md
file.
0.1.0-beta.5
6 years ago
0.1.0-beta.4
6 years ago
0.1.0-beta.3
6 years ago
0.1.0-beta.2
6 years ago
0.1.0-beta.1
6 years ago
0.1.0-beta.0
6 years ago