From acfa1709e1a66876a990f9951a6ba08d70d99a65 Mon Sep 17 00:00:00 2001 From: Julia Alberici Date: Fri, 27 Jan 2023 05:23:00 -0300 Subject: [PATCH 1/2] small grammar fix (#4870) --- docs/modules/Assets.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modules/Assets.md b/docs/modules/Assets.md index f243f2b34..12e53521c 100644 --- a/docs/modules/Assets.md +++ b/docs/modules/Assets.md @@ -211,7 +211,7 @@ If you need to manage your assets programmatically you have to use its [APIs][AP const am = editor.AssetManager; ``` -First of all, it's worth nothing that Asset Manager keeps 2 collections of assets: +First of all, it's worth noting that Asset Manager keeps 2 collections of assets: * **global** - which is just the one with all available assets, you can get it with `am.getAll()` * **visible** - this is the collection which is currently rendered by the Asset Manager, you get it with `am.getAllVisible()` @@ -590,4 +590,4 @@ am.addType('image', { For a complete list of available events, you can check it [here](/api/assets.html#available-events). -[API-Asset-Manager]: \ No newline at end of file +[API-Asset-Manager]: From e638b5847e63a3e7fbc94193ed52d33c6ac9093d Mon Sep 17 00:00:00 2001 From: Julia Alberici Date: Fri, 27 Jan 2023 05:24:22 -0300 Subject: [PATCH 2/2] small grmmar fix (#4871) fix some grammar mistakes --- docs/modules/Style-manager.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/modules/Style-manager.md b/docs/modules/Style-manager.md index 5b66bd709..95b307214 100644 --- a/docs/modules/Style-manager.md +++ b/docs/modules/Style-manager.md @@ -57,7 +57,7 @@ grapesjs.init({ It makes sense to show the Style Manager UI only when you have at least one component selected, so by default the Style Manager is hidden if there are no selected components. ::: -### Sector defintions +### Sector definitions Each sector is identified by its `name` and a list of `properties` to display. You can also specify the `id` in order to access the sector via API (if not indicated it will be generated from the `name`) and the default `open` state. @@ -82,7 +82,7 @@ grapesjs.init({ }); ``` -### Property defintions +### Property definitions Once you have defined your sector you can start adding property definitions inside `properties`. Each property has a common set of options (`label`, `default`, etc.) and others specific by their `type`. @@ -867,4 +867,4 @@ For a complete list of available events, you can check it [here](/api/style_mana [Components]: [I18n]: -[Style Manager API]: \ No newline at end of file +[Style Manager API]: