diff --git a/docs/api/commands.md b/docs/api/commands.md index 5ec980581..ff1388bd7 100644 --- a/docs/api/commands.md +++ b/docs/api/commands.md @@ -95,7 +95,7 @@ Extend the command. The command to extend should be defined as an object ### Parameters * `id` **[string][11]** Command's ID -* `cmd` (optional, default `{}`) +* `cmd` **CustomCommand** (optional, default `{}`) * `Object` **[Object][12]** with the new command functions ### Examples @@ -197,7 +197,7 @@ console.log(commands.getActive()); Returns **[Object][12]** -[1]: https://github.com/artf/grapesjs/blob/master/src/commands/config/config.js +[1]: https://github.com/artf/grapesjs/blob/master/src/commands/config/config.ts [2]: #add diff --git a/docs/api/storage_manager.md b/docs/api/storage_manager.md index ba3ec1aaa..24c3d2a0e 100644 --- a/docs/api/storage_manager.md +++ b/docs/api/storage_manager.md @@ -188,7 +188,7 @@ editor.loadProjectData(data); Returns **[Object][16]** Loaded data. -[1]: https://github.com/artf/grapesjs/blob/master/src/storage_manager/config/config.js +[1]: https://github.com/artf/grapesjs/blob/master/src/storage_manager/config/config.ts [2]: #getconfig