Needlessly Postulating Minds

    @darovic/ckeditor-cdb

    1.0.0-cdb.2 • Public • Published

    CDB implementation of the CKEditor5 classic editor

    npm version

    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:

    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.

    Install

    npm i @darovic/ckeditor-cdb

    DownloadsWeekly Downloads

    4

    Version

    1.0.0-cdb.2

    License

    (GPL-2.0 OR LGPL-2.1 OR MPL-1.1)

    Unpacked Size

    3.25 MB

    Total Files

    49

    Last publish

    Collaborators

    • darovic