@alexberskylab/ckeditor5-build-devizen

The classic editor build of CKEditor 5 – the best browser-based rich text editor.

Usage no npm install needed!

<script type="module">
  import alexberskylabCkeditor5BuildDevizen from 'https://cdn.skypack.dev/@alexberskylab/ckeditor5-build-devizen';
</script>

README

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)
  4. npm publish --access public

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