@avocalix/avocalix-ckeditor5

1.13.0 • Public • Published

Custom CKEditor5 for Avocalix enterprise

Workflow :

  • To build : npm run build

  • To publish to npm :

    1. npm run build
    2. Change package.json version: use npm version minor OR npm version patch
    3. npm publish . (use npm login before)
    4. On project use npm update
    5. On project rebuild assets (either grunt dist or docker-compose exec node grunt dist)

Font Colors :

  • To update the "couleurs exactes" tab, change the colors in "components/FontColor/constants.js"

ConvertTagAttr

This plugin is used to apply correctly every classes inside a ckeditor (see example in index.html) If you need to save the attributes in another tag attribute, just add them in the config options.

PastePlainText

Avoid that users copy/paste HTML content. When Users copy/paste, the content is filtered and only text is written in the page.

Example :

To simplify the workflow, there is an HTML page in ./example which initialize the editor. Just launch it in your browser.

Readme

Keywords

none

Package Sidebar

Install

npm i @avocalix/avocalix-ckeditor5

Weekly Downloads

2

Version

1.13.0

License

ISC

Unpacked Size

5.23 MB

Total Files

97

Last publish

Collaborators

  • katario
  • kazenojiyu