@codecogs/eqneditor-ckeditor5
v2.0.3
Published
CodeCogs Equation Editor plugin for CKEditor version 5
Downloads
115
Maintainers
Readme
@codecogs/ckeditor5-eqneditor5
Installation
Install with NPM using:
npm install ckeditor5
mpm install @codecogs/ckeditor5-eqneditor5Usage
Edit your CKEditor 5 initialisation script, so it resembles the following:
// Import into your ckeditor project
import { eqnEditor5 } from '@codecogs/eqneditor-ckeditor5';
// Ensure that the image module of ckeditor is also imported
import { Image } from 'ckeditor5';
// Add the plugin to your editor when you initialise it
ClassicEditor
.create( document.querySelector( '#editor' ), {
licenseKey: 'GPL',
plugins: [ Essentials, Bold, Italic, Font, Paragraph,eqnEditor5,Image],
toolbar: [
'undo', 'redo', '|', 'bold', 'italic', '|',
'fontSize', 'fontFamily', 'fontColor', 'fontBackgroundColor','EqnEditor5'
],
eqnEditor:{
// Specify an alternative rendering server if you have a corporate service.
server: 'latex.oncodecogs.com'
}
} )License
The @codecogs/ckeditor5-eqneditor5 package is available under MIT license.
