Skip to content

Commit

Permalink
feat: enable find in result pane (#714)
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Wu <[email protected]>
  • Loading branch information
scnwwu authored Nov 4, 2024
1 parent b0e2d19 commit a010b66
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/src/components/ResultPanel/ResultPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ export const showResult = (html: string, uri?: Uri, title?: string) => {
preserveFocus: true,
viewColumn: sideResult ? ViewColumn.Beside : ViewColumn.Active,
}, // Editor column to show the new webview panel in.
{ enableScripts: true }, // Webview options.
{
enableScripts: true,
enableFindWidget: true,
}, // Webview options.
);
webviewPanel.onDidDispose(() => disposePanel(panelId));
resultPanel = { webviewPanel, panelId };
Expand Down

0 comments on commit a010b66

Please sign in to comment.