You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CKEditor 5 rich text editor component for Vue.js 2.x
β οΈ This repository contains the CKEditor 5 component for Vue.js 2.x. The component for Vue.js 3+ is located in another repository - @ckeditor/ckeditor5-vue.
Official CKEditor 5 rich text editor component for Vue.js.
After cloning this repository, install necessary dependencies:
npm install
Executing tests
npm run test -- [additional options]
# or
npm t -- [additional options]
The command accepts the following options:
--coverage (-c) β Whether to generate the code coverage.
--source-map (-s) β Whether to attach the source maps.
--watch (-w) β Whether to watch test files.
--reporter (-r) β Reporter for Karma (default: mocha, can be changed to dots).
--browsers (-b) β Browsers that will be used to run tests (default: Chrome, available: Firefox).
If you are going to change the component (src/ckeditor.js) or plugin (src/plugin.js) files, remember about rebuilding the package. You can use npm run develop in order to do it automatically.
Building the package
Build a minified version of the package that is ready to publish:
npm run build
Changelog generator
npm run changelog
Testing component with Vue CLI
When symlinking the component in an application generated using Vue CLI, make sure your vue.config.js file configures webpack in the following way: