diff --git a/Client/WebServer/index.html b/Client/WebServer/index.html index 461e60d2d..ee58a9f06 100644 --- a/Client/WebServer/index.html +++ b/Client/WebServer/index.html @@ -65,7 +65,7 @@ Diego M., CarnivalBen, Sebastian E., Bogdan P., Marko V., Igor S., Niksa K., Rodrigo M., Nicanor M., Alejandro P., Mateo H., Lan T., Leon A., Uroš R., Filip M., Vladimir J. and Pavle B.
-Thanks for giving a star to the project's repo at GitHub.com. That will help other devs to find it.
+Thanks for giving a star to the project's repo at GitHub.com. This help other devs to find it.
diff --git a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js index 337df31cb..8ab22970f 100644 --- a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js +++ b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js @@ -20,6 +20,7 @@ function newSuperalgosDocSpace() { currentBookBeingRendered: undefined, paragraphMap: undefined, // Here we will store a map of paragraphs from the Docs Node, Concept, Topics, Tutorials, Reviews or Books Schema in order to find it when we need to update them. textArea: undefined, + sharePage: sharePage, changeLanguage: changeLanguage, changeCurrentBranch: changeCurrentBranch, changeContributionsBranch: changeContributionsBranch, @@ -220,6 +221,11 @@ function newSuperalgosDocSpace() { UI.projects.superalgos.spaces.docsSpace.navigateTo('Superalgos', 'Topic', 'Docs In ' + languageLabel) } + function sharePage() { + let clipboard = "docs.goto " + UI.projects.superalgos.spaces.docsSpace.currentDocumentBeingRendered.project + '->' + UI.projects.superalgos.spaces.docsSpace.currentDocumentBeingRendered.category + '->' + UI.projects.superalgos.spaces.docsSpace.currentDocumentBeingRendered.type + UI.projects.superalgos.utilities.clipboard.copyTextToClipboard(clipboard) + } + function onKeyDown(event) { /* When an editor is on focus we will only @@ -227,7 +233,7 @@ function newSuperalgosDocSpace() { so as to tell the editor container when the user would like to close the editor. ESC key exits edit mode. */ - if (event.key === 'Escape') { + if (event.key === 'Escape') { UI.projects.superalgos.spaces.docsSpace.exitEditMode() } } diff --git a/Projects/Superalgos/UI/Spaces/Docs-Space/Footer.js b/Projects/Superalgos/UI/Spaces/Docs-Space/Footer.js index f5102f069..b56655f51 100644 --- a/Projects/Superalgos/UI/Spaces/Docs-Space/Footer.js +++ b/Projects/Superalgos/UI/Spaces/Docs-Space/Footer.js @@ -31,6 +31,10 @@ function newSuperalgosDocsFooter() { HTML = HTML + '' HTML = HTML + '