diff --git a/src/main/ts/extension.ts b/src/main/ts/extension.ts index ea8c132..5f0c980 100644 --- a/src/main/ts/extension.ts +++ b/src/main/ts/extension.ts @@ -100,22 +100,81 @@ async function previewDag(uri: string, name?: string) { "DAG Preview", vscode.ViewColumn.Beside, { - enableScripts: true + enableScripts: true, + retainContextWhenHidden: true } ); panel.webview.html = ` - + + -
-    ${content}
-    
- +
+ + `;