-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow native spell check correction of words #150
Comments
@csuwildcat Thank you! But this might take times to hack into CodeMirror to figure out how to. |
Oh another thing is the cursor will jump to the front of the word when you double clicking it. |
I had only spent a few minutes on the first hack, so I bet I can figure out On Sun, Aug 7, 2016 at 8:02 PM, Max Wu notifications@github.com wrote:
|
@csuwildcat did you make any progress with that? |
I think this is one of the most important issues, now that HackMD is used by a wider audience. |
Hey, I ended up here, after looking into HackMD compatibility with Grammarly. I recently discovered HackMD and am loving it. Is there any work being done towards this issue? Any place where we can vote for issues to be prioritized? |
@kinetifex sadly, there is currently no way to put grammarly support into HackMD. The way the editor framework codemirror composes the editing section makes it hard, to impossible for Grammarly to hook into this. And as Grammarly is not open source, it can't be modified to work with some kind of codemirror addons. |
@SISheogorath bummer. Thanks for the quick response. |
You're welcome, even when the answer you got probably doesn't make you really happy :) |
Is there a way to spell check currently? An in-editor implementation would be the next best thing and would be very helpful. |
@PenguinOwl, there is: The check mark in the lower toolbar enables spell checking. But it's far from being perfect. It tells you that something is wrong, or unknown, but doesn't suggest how to correct it, which makes it way less useful than it should be. Also it only supports english language, so if anyone want to put work into this, it would be very, very welcome 👍 |
UP. Is there any way I can use native spell check to let my browser suggest a corrections? |
I came up with a hack that could possibly be used to enable native spell check for browsers that support it: http://codepen.io/csuwldcat/pen/mEzGmP?editors=0010
I noticed that clicks are still registered on the spans of words, so I figured I could clone the word on double click and make the clone contenteditable with spellchecking turned on. From there I mask the original, allow the user to right click the misspelled word, then reflect the change on the original text by copying the corrected text to it.
The text was updated successfully, but these errors were encountered: