From d3684355c8ddfc4af5b177ad786bce5d78770fd5 Mon Sep 17 00:00:00 2001 From: Wei Wu Date: Tue, 19 Dec 2023 15:26:43 +0800 Subject: [PATCH] feat: enable find in result pane 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 };