SideEditor + CodeMirror?

Hello all,

Is it possible to use both the SideEditor ( http://sideeditor.tiddlyspot.com/ ) and CodeMirror ( https://tiddlywiki.com/plugins/tiddlywiki/codemirror/ ) plugins together? as in, using CodeMirror to edit the external textarea created by the SideEditor?

thanks,

With code mirror installed, the default edit template is still used, and to edit we can transclude that, $:/core/ui/EditTemplate/body, I don’t know my way around the sideeditor but somewhere it is possibly using the edit or edit text widget and replacing this with {{||$:/core/ui/EditTemplate/body}} may get what you want.

I applied your suggestion, and that gets me CodeMirror.

However, there are some issues with the editor window size —I guess they’re easy to solve— and one issue I don’t know how to tackle: whenever I edit the text, the cursor gets moved to the top of the editor window; I assume this is something done by the Side Editor.

Thanks for the suggestion, I guess I’ll look into how to get this working later.