ckeditor5-build-advanced
v12.4.2
Published
A custom build of CKEditor 5 – with image resize and formula bar support.
Downloads
23
Maintainers
Readme
CKEditor 5 advanced editor build
This is a custom build of ckeditor with image resize and formula bar support.
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 ckeditor5-build-advanced
And use it in your website:
<div id="editor">
<p>This is the editor content.</p>
</div>
<script src="./node_modules/ckeditor5-build-advanced/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 'ckeditor5-build-advanced';
// Or using the CommonJS version:
// const ClassicEditor = require( 'ckeditor5-build-advanced' );
ClassicEditor
.create( document.querySelector( '#editor' ) )
.then( editor => {
window.editor = editor;
} )
.catch( err => {
console.error( err.stack );
} );
License
Licensed under the terms of GNU General Public License Version 2 or later. For full details about the license, please check the LICENSE.md
file or https://ckeditor.com/legal/ckeditor-oss-license.