Skip to content

Commit a010b66

Browse files
authored
feat: enable find in result pane (#714)
Signed-off-by: Wei Wu <[email protected]>
1 parent b0e2d19 commit a010b66

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

client/src/components/ResultPanel/ResultPanel.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ export const showResult = (html: string, uri?: Uri, title?: string) => {
3939
preserveFocus: true,
4040
viewColumn: sideResult ? ViewColumn.Beside : ViewColumn.Active,
4141
}, // Editor column to show the new webview panel in.
42-
{ enableScripts: true }, // Webview options.
42+
{
43+
enableScripts: true,
44+
enableFindWidget: true,
45+
}, // Webview options.
4346
);
4447
webviewPanel.onDidDispose(() => disposePanel(panelId));
4548
resultPanel = { webviewPanel, panelId };

0 commit comments

Comments
 (0)