Ghost icon indicating copy to clipboard operation
Ghost copied to clipboard

Forgive me for this but ghost editor need spelling checker please

Open programming-kid opened this issue 13 years ago • 30 comments

Hi guys

hi 5 awesome job !!! I just love ghost . Its best thing ever happened to blogging its gorgeous , its elegant , its simple and its beautiful .

I just started ghosting and after writing half of the article i was surprised to see not red underlines , i was about to pat my back then i suddenly realized ghost editor doesn't checks for spellings.

Please guys can you please fix this thing..

p.s sorry for being dramatic its just that i am very excited about ghost.

programming-kid avatar Oct 22 '13 22:10 programming-kid

Sidenote: I believe browser's (Chrome does at least) have built-in spell check.

eastwood avatar Oct 22 '13 23:10 eastwood

A spell checker is out of scope for the platform and as @b1nd said: Most browsers already include spellcheckers.

The way the editor is currently implemented prevents the spellchecker from working, but that will be fixed at some point.

halfdan avatar Oct 22 '13 23:10 halfdan

@halfdan Sure it can be fixed? The CodeMirror developer seems to think this isn't possible.

jgillich avatar Oct 22 '13 23:10 jgillich

@jgable As mentioned in the forum Ghost will at some point have it's own editor. CodeMirror definitely makes it impossible.

halfdan avatar Oct 22 '13 23:10 halfdan

yea i was working on Firefox and its default spelling checker didn't seem to work

programming-kid avatar Oct 22 '13 23:10 programming-kid

@halfdan That explains a lot, thanks!

jgillich avatar Oct 22 '13 23:10 jgillich

To explain further, this is effectively closed as "won't fix" because it is a fundamental problem with complex editors like CodeMirror. We have long term plans to resolve this, but short term are not able to.

ErisDS avatar Oct 27 '13 12:10 ErisDS

If you use Chrome you can use this workaround: http://www.codingelf.net/spell-checker-hack-for-ghost/

pvasek avatar Jan 01 '14 10:01 pvasek

Nice, thanks :+1:

ErisDS avatar Jan 01 '14 13:01 ErisDS

Spellcheck (amongst many other things) will be addressed when we work on overhauling and improving the Ghost editor later this year: https://github.com/TryGhost/Ghost/wiki/Roadmap

JohnONolan avatar Mar 08 '14 14:03 JohnONolan

The newest changes broke the spell check hack http://www.pavelvasek.com/spell-checker-hack-for-ghost/

I don't think it's unreasonable to think that you guys could at least reach out to him and see if you could give him some help. Someone set aside an hour to work it out over IRC... if you can't, then oh well. At least give it a shot though, a writing app needs spell check and even though you offload this functionality to browsers, if your system inherently overrides the system which spellcheck uses in browser then you should fix it. :)

teamcoltra avatar May 09 '14 14:05 teamcoltra

@teamcoltra welcome to Ghost's Github repo. I have to say your comment comes across to me as quite accusatory. I am available in IRC most of the time, I make myself available to anyone who asks for my help, as do all of the Ghost team and contributors. It's not possible for us to keep track of every hack, theme and tool build on top of Ghost and ensure it stays working, but if the author was to come to us and ask for help, he would find us ready and willing.

ErisDS avatar May 11 '14 20:05 ErisDS

Sorry Eris, if you thought there was any disrespect there was none intended. This was over half a month ago so my memory could be faulty but I could swear I remember him saying that he had messaged you guys suggesting to help but either was told "no thank you" or was not replied to.

I realize that Ghost is an ongoing project and people who complain just make developing harder and you spend your time replying to issues instead of being able to move forward eventually fixing the issues you are debating about.

:) I think you guys are doing a good job, hope you keep up the good work and I hope someone somewhere will get spell-check working because it really is a critical feature in my opinion.

teamcoltra avatar May 22 '14 18:05 teamcoltra

A blog without spelling checking? Someone might want to follow-up on that clever hack above to see if you can not only fix it, but make it the official way to spell check in ghost until the future editor rewrite.

BTW, there are other groups wrestling with the lack of spelling checking in a JavaScript markdown editor. If there were more details about what is planned, maybe we could all work together...

dsblank avatar Jul 02 '14 14:07 dsblank

Fyi, I was able to enable spell checking using the HTML5 attribute spellcheck="true" on the span tags generated by CodeMirror.

https://github.com/prose/prose/issues/169#issuecomment-51290639

May be a simple fix?

eduncan911 avatar Aug 06 '14 03:08 eduncan911

@eduncan911 This sounds like a potential solution in the making. The next steps would be to open an issue describing the solution on CodeMirror, or start a discussion about this on their mailing list as it would need to be implemented in their code not ours ;)

ErisDS avatar Aug 06 '14 07:08 ErisDS

Closed as "won't fix". :/

AlexAllocated avatar Nov 18 '14 19:11 AlexAllocated

@chevex There is an open PR which removes codemirror and therefore solves the issue.

ErisDS avatar Nov 18 '14 19:11 ErisDS

I know this is a closed issue but I would like to ask this question here for reference, please let me know if you want me to discuss somewhere else.

There have been quite a few talks of using hacks and plugins to enable this temporarily, the browser plugin doesn't seem to be working any more and I've tried adding spellcheck="true" as per @eduncan911 's suggestion with no success.

I understand that there is a work in progress to fix this (which is awesome :+1: ) but is there anything that we can do in the mean time? Even if it is horribly hacky?

Just a bit of context: I'm Dyslexic and this issue seriously affects me. I have had a reasonably embarrassing experience (which i'm used to) publishing a blog with mistakes in it, but the problem is I was unaware that the spell checker wasn't working. Anything that we can do to warn users would be helpful at this stage before a bigger release.

When is the https://github.com/TryGhost/Ghost/pull/4373 due to land? i.e. what release number are we aiming for?

mansona avatar Jan 06 '15 08:01 mansona

@mansona Have you tried setting disableSpellcheck: false here?

I'm not sure if that would work, but it might be worth a try for now. The only other temporary solution I can recommend is this Chrome extension.

joeldrapper avatar Jan 06 '15 09:01 joeldrapper