1.0.1 • Published 3 years ago
belcebur-editor v1.0.1
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