silverbulletmd / silverbullet

The knowledge tinkerer's notebook
https://silverbullet.md
MIT License
2.43k stars 174 forks source link

Command to fix spelling in editor #1117

Open meain opened 1 day ago

meain commented 1 day ago

Would be nice to have a command to fix the spelling of the word under cursor. I can currently right click and fix the spelling, but it would be nice to do it from keyboard(ideally by adding a keybinding to the command).

zefhemel commented 1 day ago

This would be nice, but from a quick ChatGPT "search" it doesn't seem there's a browser API to do this. It would be possible to do this with a custom spell checker, but... Of course this is chatgpt which may be hallucinating. If you can find a way to trigger spell fixes using a JavaScript, I'd be happy to integrate it.