We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e25243 commit f239857Copy full SHA for f239857
packages/frontend/apps/electron/src/main/windows-manager/tab-views.ts
@@ -836,6 +836,12 @@ export class WebContentViewsManager {
836
837
if (spellCheckSettings.enabled) {
838
view.webContents.on('context-menu', (_event, params) => {
839
+ const shouldShow =
840
+ params.misspelledWord && params.dictionarySuggestions.length > 0;
841
+
842
+ if (!shouldShow) {
843
+ return;
844
+ }
845
const menu = new Menu();
846
847
// Add each spelling suggestion
0 commit comments