mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-17 11:49:33 +01:00
Merge #432: pop a session, a file preview or a web tab out into a native wrapper's own window
# Conflicts: # src/web/public/app.js # src/web/public/settings-ui.js
This commit is contained in:
commit
48f54ec090
9 files changed
+253
-8
No files matched your search
@@ -514,7 +514,9 @@ Object.assign(CodemanApp.prototype, {
|
||||
|
||||
openWebviewExternal(id) {
|
||||
const webview = this.webviews.get(id || this.activeWebviewId);
|
||||
if (webview) window.open(webview.url, '_blank', 'noopener');
|
||||
if (!webview) return;
|
||||
if (this.openInHostWindow?.(webview.url)) return;
|
||||
window.open(webview.url, '_blank', 'noopener');
|
||||
},
|
||||
|
||||
closeWebviewTab(id) {
|
||||
|
||||
Reference in new issue
Block a user