Add rebuild after wysiwyg plugin has been created

Me and my colleague just tried this step by step guide to install the CKEditor WYSIWYG with the current strapi version 3.0.0-beta.20.1 and it didn't work.
We had to spend some time till we found out that we have to rebuild strapi so the plugin is loaded correctly.
Found that on the "Update Strapi version" page.

Signed-off-by: Kevin Pfeifer <kevin.pfeifer@sunlime.at>
This commit is contained in:
Kevin Pfeifer 2020-05-02 14:41:13 +02:00 committed by Kevin Pfeifer
parent 9414eb717b
commit 3125157913

View File

@ -1,3 +1,4 @@
# Creating a new Field in the administration panel
In this guide we will see how you can create a new Field for your administration panel.
@ -332,4 +333,16 @@ export default strapi => {
};
```
Finally you will have to rebuild strapi so the new plugin is loaded correctly
```bash
yarn build
# or
npm run build
```
::: tip
If the plugin sillt doesn't show up, you should probably empty the `.cache` folder too.
:::
And VOILA, if you create a new `collectionType` or a `singleType` with a `richtext` field you will see the implementation of [CKEditor](https://ckeditor.com/ckeditor-5/) instead of the default WYSIWYG.