1.0.3 • Published 4 years ago

@alexberskylab/ckeditor5-build-devizen v1.0.3

Weekly downloads
-
License
GPL-2.0-or-later
Repository
github
Last release
4 years ago

Pour ajouter un plugin :

1) installer le plugin avec npm (npm install --save @ckeditor/ckeditor5-horizontal-line)

2) importer le plugin dans src/ckeditor.js : import HorizontalLine from '@ckeditor/ckeditor5-horizontal-line/src/horizontal-line';

3) L'ajouter HorizontalLine à l'array de plugins ClassicEditor.builtinPlugins = ... HorizontalLine

4) Ajouter à la toolbar si nécessaire toolbar: { items: ..., 'horizontalLine' }

5) yarn run build

6) On peut tester l'éditeur (hors upload) sur le fichier sample/index.html

Pour mettre à jour le build custom

1) Incrémenter le numéro de version dans le package.json 2) yarn run build 3) npm login (Voir logins sur Odoo) 3) npm publish --access public

Puis mettre à jour le plugin sur devizen (npm update @alexberskylab/ckeditor5-build-devizen)