microsoft / microsoft/monaco-editor

Spell checking using browser spell checker

Open
#1,977 16 comments 38 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

editor-core feature-request
Dominant language
JavaScript
Stars
46.8k
Forks
4.1k
Avg merge
17h 58m
Merged PRs (30d)
1

Description

If the DIVs and SPANs is explicitly set to contenteditable="true" (instead of inherited) you get a red squiggly under badly spelled words in the monaco editor. The context menu hides the suggestions - but if that is removed/disabled - the word can be replaced; but even without the replace - the spell lint would be very nice.

Such a "feature" would be VERY nice for .TXT, .MD etc... especially with Chromes "new" enhanced (opt. in) spell checker that also "checks the language".

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in a browser with explicitly contenteditable DIVs and SPANs in the Monaco editor, including the context-menu behavior. Determine how browser spell checking and replacement should work for editor content, then verify that misspellings are underlined and suggestions remain usable without breaking normal editing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.