0.0.5 • Published 2 years ago

build-custom-ckeditor5-01 v0.0.5

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

CKEditor editor generated for Blog Internal

This repository presents a CKEditor 5 editor build generated for Internal Blog

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:

npm install

Make sure that you have the node and npm installed first. If not, then follow the instructions on the Node.js documentation page.

Adding or removing plugins

Now you can install additional plugin in the build. Just follow the Adding a plugin to an editor tutorial

Rebuilding editor

If you have already done the Installation and Adding or removing plugins steps, you're ready to rebuild the editor by running the following command:

Now you update the version in package.json file, and you can build de package

npm run build

This will build the CKEditor 5 to the build directory. You can open your browser and you should be able to see the changes you've made in the code. If not, then try to refresh also the browser cache by typing Ctrl + R or Cmd + R depending on your system.

Published new version

Now you can publish de package in the, but first you need log in npm repository

All credentials you will find in 1Password

npm login

When logging in, the attributes must be informed username, password and email

npm publish --access public

Install in project

Now you can install this build in your project

yarn add blog-custom-build-ckeditor5

or

npm i blog-custom-build-ckeditor5

Update in project

Remember update version package

yarn upgrade blog-custom-build-ckeditor5@['version_package']