From 90a2029ac6e2fb4109f52322bc21d847d8d0007a Mon Sep 17 00:00:00 2001 From: Vijay A Date: Tue, 16 Apr 2024 07:47:42 +0530 Subject: Upgrade electron to '30.0.0' --- src/webview/contextMenuBuilder.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/webview') diff --git a/src/webview/contextMenuBuilder.ts b/src/webview/contextMenuBuilder.ts index f81b051ee..0a8b9c57b 100644 --- a/src/webview/contextMenuBuilder.ts +++ b/src/webview/contextMenuBuilder.ts @@ -258,7 +258,17 @@ export class ContextMenuBuilder { return this.buildMenuForVideo(info); } - if (info.isEditable || info.inputFieldType !== 'none') { + if ( + info.isEditable || + info.formControlType === 'input-email' || + info.formControlType === 'input-file' || + info.formControlType === 'input-number' || + info.formControlType === 'input-search' || + info.formControlType === 'input-telephone' || + info.formControlType === 'input-text' || + info.formControlType === 'input-url' || + info.formControlType === 'text-area' + ) { return this.buildMenuForTextInput(info); } -- cgit v1.2.3-70-g09d2