Switching Editors basic to/from CodeMirror

34 views
Skip to first unread message

TonyM

unread,
Nov 14, 2018, 9:06:56 PM11/14/18
to TiddlyWiki
Folks,

I love The CodeMirror plugins, but the spell check is not working in it as it is not a simple text area to various browser spell checkers will not work.I believe the only way would be the introduction of a code mirror aware spell checker.

Once installed and activated you can transclude in the current tiddler as follows, and the code mirror editor replaces the default editor.

<$transclude tiddler="$:/core/ui/EditTemplate/body/editor"/>

This is used by the edit template to edit the tiddlers

I would like to find a way to toggle between the basic and code mirror editors. Does anyone know how I could do this? Ideally on a per tiddler basis!

This would allow me to use the browser spell check and return to code-mirror as needed.

The above editor makes no reference to CodeMirror so I cant simply use an alternate template.

Thanks in advance
Tony


TonyM

unread,
Nov 14, 2018, 9:26:07 PM11/14/18
to TiddlyWiki
Opps,

This looks like this was answered by Jeremy here https://groups.google.com/forum/?hl=en#!topic/tiddlywiki/c3y-PycRP4M

Tony
Reply all
Reply to author
Forward
0 new messages