mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-10 01:09:43 +02: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:
@@ -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