T3100 Add spell checking to monaco-based markdown editor

Based on microsoft response to the issue, it seems like we need to use Web Workers (or another way) to solve the performance problem.

Someone suggested his own spell check lib, but I don’t think that’s the right way to handle it.

What if we moved the dictionaries and computations to the backend, and let the frontend render markers based on the incoming data? Is this achievable in our infrastructure?

It is achievable, but I feel doing this on the front-end side makes more sense. Otherwise we’d expose an endpoint that would be a free spellchecker for anyone :smiley:

So I think workers are the way to go :+1:

@jam also take a look at GitHub - purocean/monaco-spellchecker: This library provides a simple approach to spellchecking words in the Monaco Editor. · GitHub, maybe it has some good bits