TiddlyWiki / TiddlyWiki5

A self-contained JavaScript wiki for the browser, Node.js, AWS Lambda etc.
https://tiddlywiki.com/
Other
8.06k stars 1.19k forks source link

SpellChecker for CodeMirror #1630

Open Belphemur opened 9 years ago

Belphemur commented 9 years ago

Hi,

I have the same problem as #1298. I know I can disable CodeMirror, but I found this: http://stackoverflow.com/questions/12343922/codemirror-with-spell-checker

Do you think you could implement it in the Node.js version that use CodeMirror ?

Jermolene commented 9 years ago

Hi @Belphemur

Do you think you could implement it in the Node.js version that use CodeMirror ?

It looks like it could be integrated with the TiddlyWiki CodeMirror plugin. It's not something that I could commit to doing, I'm afraid, but I'd be happy to support another developer working on it.

Do you think you could implement it in the Node.js version that use CodeMirror ?

By the way, the CodeMirror plugin can be used in the standalone HTML file configuration of TiddlyWiki. It's included in the client-server configuration by default.

Belphemur commented 9 years ago

Do you think you could instead make the default type or text/vnd.tiddlywiki not using codemirror by default ?

Jermolene commented 9 years ago

Do you think you could instead make the default type or text/vnd.tiddlywiki not using codemirror by default ?

Well, we could simply remove CodeMirror from the default plugins included in the server edition. Is the motivation so that spell checking works?

Belphemur commented 9 years ago

Yes that's the basic motivation. I just thought keeping CodeMirror is good since it provides useful feature if you plan on doing a technical wiki.

sukima commented 9 years ago

Sadly I looked into this very problem once. Because of the effort to make more plugins and fix CodeMirror I gave up and now copy paste between my preferred editor and TiddlyWiki. I found my main editor (Vim) had better spell checking then the browser and obviously better Vim key bindings then CodeMirror.

I'd love to see a typo.js plugin for the CodeMirrir plugin made because least I could get my Vi and spell checking done on computers that don't have Vim installed.