mistralys / appframework-ckeditor5
CKEditor5 build for the Application Framework's default markup editor.
Installs: 275
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
README
CKEditor5 build for the Application Framework's default markup editor.
This is based on a CKEditor5 editor build generated by the Online builder tool, with some adjustments to make it work with the framework's MarkupEditor classes.
Working principle
The file src/ckeditor.js
is the configuration for the editor build.
This contains the list of plugins that will be available in the editor,
and that can be enabled at will with the markup editor's methods.
The configuration file is used to compile everything into a single JavaScript file, from the source code to CSS and image files. This can then be included to create Editor instances for Text Area form elements.
Quick start
Open the sample/index.html
page in the browser to check out the default
editor settings.
Development and build
Installation
In order to rebuild the application you need to install all dependencies first. To do it, open the terminal in the project directory and type:
rm -rf node_modules npm install
Build files
To generate the production file build/ckeditor.js
:
npm run build