Help Implementation

This commit is contained in:
Luis Fernando Molina committed 2020-03-10 13:00:40 +01:00
1 parent c174ae57b1
commit 35e41271ed
8 files changed
+47 -14

No files matched your search

+11
View File
@@ -412,6 +412,17 @@ function newWorkspace () {
referenceDetachNode(payload.node)
}
break
case 'Open Documentation':
{
let definition = APP_SCHEMA_MAP.get(payload.node.type)
if (definition !== undefined) {
if (definition.docURL !== undefined) {
let newTab = window.open(definition.docURL, '_blank')
newTab.focus()
}
}
}
break
}
}
}