@alexberskylab/ckeditor5-build-devizen
v1.0.3
Published
The classic editor build of CKEditor 5 – the best browser-based rich text editor.
Readme
Pour ajouter un plugin :
installer le plugin avec npm (npm install --save @ckeditor/ckeditor5-horizontal-line)
importer le plugin dans src/ckeditor.js : import HorizontalLine from '@ckeditor/ckeditor5-horizontal-line/src/horizontal-line';
L'ajouter HorizontalLine à l'array de plugins ClassicEditor.builtinPlugins = [ ... HorizontalLine ]
Ajouter à la toolbar si nécessaire toolbar: { items: [ ..., 'horizontalLine' ] }
yarn run build
On peut tester l'éditeur (hors upload) sur le fichier sample/index.html
Pour mettre à jour le build custom
- Incrémenter le numéro de version dans le package.json
- yarn run build
- npm login (Voir logins sur Odoo)
- npm publish --access public
Puis mettre à jour le plugin sur devizen (npm update @alexberskylab/ckeditor5-build-devizen)
