Dirty Ghost Spellchecker

A solution for spellcheck in Ghost

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey, Greasemonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Userscripts.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een gebruikersscriptbeheerder nodig.

(Ik heb al een user script manager, laat me het downloaden!)

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

(Ik heb al een beheerder - laat me doorgaan met de installatie!)

Maker
Ben Reaves
Dagelijks aantal installaties
0
Totaal aantal installaties
22
Beoordelingen
0 0 0
Versie
0.1.3.1
Gemaakt op
13-10-2014
Bijgewerkt op
14-10-2014
Grootte
3,39 KB
Licentie
N.v.t.
Wordt toegepast op

Dirty Ghost Spellchecker v0.1.3.1

Ghost v0.5.2 at the moment lacks any sort of spellcheck and surprisingly it is not a high priority for anyone at Ghost-Roadmap, it is stuck in their backlog, so this script was created to resolve that problem and in a fairly elegant, hackish sort of way. So if you are a blogger that does not want to have switch tabs, or apps to double check something as simple as their spelling then this will be a great addition.

There is certainly talk of the platform moving away from CodeMirror, one of the main reasons this had to be created. The developers of CodeMirror have zero interest in introducing Spellcheck at this point, and they tried to roll their own awhile back, but it was bug ridden so they removed it. I have my own opinions about the developers of CodeMirror and Ghost when it comes to this oversight, but it is what it is and with this script it is at least a little more bearable.

How to use it?

Next to the help icon a new Spellcheck link appears and you can click it to initiate a textarea box that lets you correct all spelling mistakes. You will then need to highlight the corrected texts and copy it, because it appears like the code that would normally allow me to insert the corrected text back into Ghost has been stripped out of the CodeMirror base they are using.

Shortcuts available?

YES!! Press Alt+F to open the spellcheck window. Press Alt+W to close the window. Of course Select All, Ctrl+A and Copy still works as you would expect.

The Best Solution?

Forking Ghost at some point and re-introduce default features of CodeMirror and make the editor's setValue available to client browser scope. I suspect that it probably was back in 0.4.1, but something has happened since then, possibly related to the use of Ember is what I suspect. The other option is to change the editor away from CodeMirror entirely, which is on their list, possibly for v0.7.

You can also follow my work on reaves.co.