Skip to content

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

@CodeZeno

Description

@CodeZeno

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions