@coachthem/ckeditor5-build-classic-lacrosse
v0.1.0
Published
The classic editor build of CKEditor 5 – the best browser-based rich text editor.
Downloads
2
Readme
CKEditor 5 classic editor build for Lacrosse sport
The classic editor custom build for CKEditor 5.
Demo 1
Demo 2
Documentation
Quick start
First, install the build from npm:
npm install --save @coachthem/ckeditor5-build-classic-lacrosse
And use it in your website:
<div id="editor">
<p>This is the editor content.</p>
</div>
<script src="./node_modules/@coachthem/ckeditor5-build-classic-lacrosse/build/ckeditor.js"></script>
<script>
ClassicEditor
.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 ClassicEditor from '@coachthem/ckeditor5-build-classic-lacrosse';
// Or using the CommonJS version:
// const ClassicEditor = require( '@coachthem/ckeditor5-build-classic-lacrosse' );
ClassicEditor
.create( document.querySelector( '#editor' ) )
.then( editor => {
window.editor = editor;
} )
.catch( error => {
console.error( 'There was a problem initializing the editor.', error );
} );