Fix docs typos

Signed-off-by: soupette <cyril.lpz@gmail.com>
This commit is contained in:
soupette 2020-04-10 15:51:35 +02:00
parent 8ba9ea46b5
commit a51c97829b
4 changed files with 6 additions and 6 deletions

View File

@ -99,13 +99,13 @@ const dateFormats = {
...defaultDateFormats,
// Customise the format by uncommenting the one you wan to override it corresponds to the type of your field
// date: 'dddd, MMMM Do YYYY',
// datetime: 'dddd, MMMM Do YYYY HH:mm',
// datetime: 'dddd, MMMM Do YYYY HH:mm',
// time: 'HH:mm A',
// timestamp: 'dddd, MMMM Do YYYY HH:mm',
};
```
Now let's replace `data: 'dddd, MMMM Do YYYY'` by `date: 'YYYY/MM/DD';`
Now let's replace `date: 'dddd, MMMM Do YYYY'` by `date: 'YYYY/MM/DD';`
And tada, the date will now display with the new format.

View File

@ -36,7 +36,7 @@ cd my-app
yarn develop --watch-admin
```
Once this step is over all we need to do is to create our new WYSIWYG which will replace the current one the **Content Manager** plugin.
Once this step is over all we need to do is to create our new WYSIWYG which will replace the default one in the **Content Manager** plugin.
### Creating the WYSIWYG
@ -295,7 +295,7 @@ At this point we have simply created a new plugin which is mounted in our projec
### Registering a our new Field
Since the goal of our plugin is to override the current WYSIWYG we don't want it to be displayed in the administration panel but we need it to register our new **Field**. In order to do so we will simply modify the front-end entry point of our plugin:
Since the goal of our plugin is to override the current WYSIWYG we don't want it to be displayed in the administration panel but we need it to register our new **Field**. In order to do so, we will simply modify the front-end entry point of our plugin:
**Path —** `./plugins/wysiwyg/admin/src/index.js`

View File

@ -186,7 +186,7 @@ export default strapi => {
## Adding a setting into the global section
In order to add a link into the global section of the settings view you need to create a global array containing the links you want to add;
In order to add a link into the global section of the settings view you need to create a global array containing the links you want to add:
**Path —** `plugins/my-plugin/admin/src/index.js`.

View File

@ -274,7 +274,7 @@ In our second example, you can upload and attach multiple pictures to the restau
## Using a provider
By default Strapi provides a provider that upload files to a local directory. You might want to upload your files to another provider like AWS S3.
By default Strapi provides a provider that uploads files to a local directory. You might want to upload your files to another provider like AWS S3.
You can check all the available providers developed by the community on npmjs.org - [Providers list](https://www.npmjs.com/search?q=strapi-provider-upload-)