belcebur-editor
v1.0.1
Published
Belcebur plugin to convert Latex to human (wiris api)
Downloads
3
Readme
Belcebur Plugin to CKEditor
Latex to human converter - How to Use
- Install dependency
npm i belcebur-editor --save
- Import dependency from your main file
import BelceburEditor from 'belcebur-editor'
- Add import to plugins array and add 'latexAccesible' to your toolbar array
ClassicEditor
.create(document.querySelector('#editor'), {
plugins: [Essentials, Paragraph, Bold, Italic, BelceburEditor],
toolbar: ['bold', 'italic', 'latexAccesible']
})
.then(editor => {
console.log('Editor was initialized', editor);
})
.catch(error => {
console.error(error.stack);
});
- Enjoy it