diff --git a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js index 12bdb9e19..389a30fd4 100644 --- a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js +++ b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js @@ -137,105 +137,105 @@ function newSuperalgosDocSpace() { let docSchemaParagraph = paragraphMap.get(selectedParagraph.id) docSchemaParagraph.style = 'Javascript' contextMenuForceOutClick() - renderPage() + renderDocumentPage() } function toJson() { let docSchemaParagraph = paragraphMap.get(selectedParagraph.id) docSchemaParagraph.style = 'Json' contextMenuForceOutClick() - renderPage() + renderDocumentPage() } function toText() { let docSchemaParagraph = paragraphMap.get(selectedParagraph.id) docSchemaParagraph.style = 'Text' contextMenuForceOutClick() - renderPage() + renderDocumentPage() } function toTitle() { let docSchemaParagraph = paragraphMap.get(selectedParagraph.id) docSchemaParagraph.style = 'Title' contextMenuForceOutClick() - renderPage() + renderDocumentPage() } function toSubtitle() { let docSchemaParagraph = paragraphMap.get(selectedParagraph.id) docSchemaParagraph.style = 'Subtitle' contextMenuForceOutClick() - renderPage() + renderDocumentPage() } function toNote() { let docSchemaParagraph = paragraphMap.get(selectedParagraph.id) docSchemaParagraph.style = 'Note' contextMenuForceOutClick() - renderPage() + renderDocumentPage() } function toWarning() { let docSchemaParagraph = paragraphMap.get(selectedParagraph.id) docSchemaParagraph.style = 'Warning' contextMenuForceOutClick() - renderPage() + renderDocumentPage() } function toImportant() { let docSchemaParagraph = paragraphMap.get(selectedParagraph.id) docSchemaParagraph.style = 'Important' contextMenuForceOutClick() - renderPage() + renderDocumentPage() } function toSuccess() { let docSchemaParagraph = paragraphMap.get(selectedParagraph.id) docSchemaParagraph.style = 'Success' contextMenuForceOutClick() - renderPage() + renderDocumentPage() } function toCallout() { let docSchemaParagraph = paragraphMap.get(selectedParagraph.id) docSchemaParagraph.style = 'Callout' contextMenuForceOutClick() - renderPage() + renderDocumentPage() } function toSummary() { let docSchemaParagraph = paragraphMap.get(selectedParagraph.id) docSchemaParagraph.style = 'Summary' contextMenuForceOutClick() - renderPage() + renderDocumentPage() } function toList() { let docSchemaParagraph = paragraphMap.get(selectedParagraph.id) docSchemaParagraph.style = 'List' contextMenuForceOutClick() - renderPage() + renderDocumentPage() } function toTable() { let docSchemaParagraph = paragraphMap.get(selectedParagraph.id) docSchemaParagraph.style = 'Table' contextMenuForceOutClick() - renderPage() + renderDocumentPage() } function toGif() { let docSchemaParagraph = paragraphMap.get(selectedParagraph.id) docSchemaParagraph.style = 'Gif' contextMenuForceOutClick() - renderPage() + renderDocumentPage() } function toPng() { let docSchemaParagraph = paragraphMap.get(selectedParagraph.id) docSchemaParagraph.style = 'Png' contextMenuForceOutClick() - renderPage() + renderDocumentPage() } } @@ -493,7 +493,7 @@ function newSuperalgosDocSpace() { } } EDITOR_ON_FOCUS = false - renderPage() + renderDocumentPage() } } @@ -754,17 +754,17 @@ function newSuperalgosDocSpace() { } function buildHTML() { + const tabs = ['All', 'Nodes', 'Concepts', 'Topics'] let HTML = addSearchHeader() // Tabs HTML = HTML + '