diff --git a/docs/api.js b/docs/api.js index 111cdd495..d46ae2f40 100644 --- a/docs/api.js +++ b/docs/api.js @@ -37,7 +37,7 @@ async function generateDocs () { ['css_composer/index.ts', 'css_composer.md'], ['css_composer/model/CssRule.ts', 'css_rule.md'], ['modal_dialog/index.ts', 'modal_dialog.md'], - ['rich_text_editor/index.js', 'rich_text_editor.md'], + ['rich_text_editor/index.ts', 'rich_text_editor.md'], ['keymaps/index.ts', 'keymaps.md'], ['undo_manager/index.ts', 'undo_manager.md'], ['canvas/index.ts', 'canvas.md'], @@ -46,7 +46,7 @@ async function generateDocs () { ['navigator/index.ts', 'layer_manager.md'], ['pages/index.ts', 'pages.md'], ['pages/model/Page.ts', 'page.md'], - ['parser/index.js', 'parser.md'], + ['parser/index.ts', 'parser.md'], ].map(async (file) => { const filePath = `${srcRoot}/${file[0]}`; diff --git a/docs/api/parser.md b/docs/api/parser.md index 2044693af..d818b9868 100644 --- a/docs/api/parser.md +++ b/docs/api/parser.md @@ -87,7 +87,7 @@ const res = Parser.parseCss('.cls { color: red }'); Returns **[Array][9]<[Object][5]>** Array containing the result -[1]: https://github.com/artf/grapesjs/blob/master/src/parser/config/config.js +[1]: https://github.com/artf/grapesjs/blob/master/src/parser/config/config.ts [2]: #getconfig diff --git a/docs/api/rich_text_editor.md b/docs/api/rich_text_editor.md index c71634583..6c094a63d 100644 --- a/docs/api/rich_text_editor.md +++ b/docs/api/rich_text_editor.md @@ -156,7 +156,7 @@ Returns **[HTMLElement][11]** [1]: https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand -[2]: https://github.com/artf/grapesjs/blob/master/src/rich_text_editor/config/config.js +[2]: https://github.com/artf/grapesjs/blob/master/src/rich_text_editor/config/config.ts [3]: #add