Help Implementation
This commit is contained in:
1 parent
c174ae57b1
commit
35e41271ed
8 files changed
+47
-14
No files matched your search
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user