@avocalix/avocalix-ckeditor5
v1.13.0
Published
A custom Editor from ckeditor5 for Avocalix
Downloads
46
Readme
Custom CKEditor5 for Avocalix enterprise
Workflow :
To build :
npm run build
To publish to npm :
npm run build
- Change package.json version: use
npm version minor
ORnpm version patch
npm publish .
(usenpm login
before)- On project use
npm update
- On project rebuild assets (either
grunt dist
ordocker-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.