Skip to content
Source
Sign inSign up
pingdotgg/t3code

Spellcheck right-click context menu actions not available in prompt input #473

ClosedCodeZeno(GitHub profile, opens in a new tab) opened this issue 1 comment

Description

The app correctly detects and underlines misspelt words in the prompt input, but right-clicking a misspelt word does not offer any correction suggestions in the context menu.

Accurate spelling in prompts likely affects the quality of generated results, so having functional spellcheck corrections would be a useful improvement.

Expected Behaviour

Right-clicking a misspelt word should present spelling suggestions, consistent with other desktop applications.

Actual Behaviour

Misspelt words are underlined (detection works), but the right-click context menu has no spelling-related actions.

Possible Approach

Since the spellchecker is already detecting misspelt words, the underlying engine is providing suggestions, they just aren't surfaced in the context menu. Electron exposes misspelt word data and dictionary suggestions via the context-menu event on WebContents, so this could potentially be wired up with minimal effort using the built-in APIs and OS-level dictionaries.

Environment

  • Platform: Windows
  • Version: v0.0.3
  1. @CodeZeno, could u hv a look at my pr, it addresses ur issue

Sign in to join this conversation.