From a010b66330fb3afb1e5288a365861b0cb14c1643 Mon Sep 17 00:00:00 2001 From: Wei Wu <96556502+scnwwu@users.noreply.github.com> Date: Mon, 4 Nov 2024 02:49:05 -0500 Subject: [PATCH] feat: enable find in result pane (#714) Signed-off-by: Wei Wu --- client/src/components/ResultPanel/ResultPanel.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/components/ResultPanel/ResultPanel.ts b/client/src/components/ResultPanel/ResultPanel.ts index 034eb6f99..358a7c8d2 100644 --- a/client/src/components/ResultPanel/ResultPanel.ts +++ b/client/src/components/ResultPanel/ResultPanel.ts @@ -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 };