Hi, BJ. Thanks for the interest.
- Version 5.1.11
- Firefox 45.0.2, though it also appears with TiddlyDesktop
- I installed the plugin from the Official TiddlyWiki Plugin Library (ControlPanel / Plugins / Get more plugins)
I can reproduce and workaround the bug with the following steps in the browser:
- Create new Tiddler by clicking on link to nonexistent Tiddler
- Set type to markdown
- Error appears
- Set type to TiddlyWiki 5
- Save Tiddler (Wiki also saves at this point)
- Edit Tiddler
- Set type to markdown
- Error appears
- Cancel
- Close window (just the window, not the whole browser)
- Re-open window
- Re-load TW file from bookmark
- Edit Tiddler
- Set type to markdown
- Error does _not_ appear
- Continue editing in markdown
[EDIT] - I was just going through these steps again, and it appears to be even easier. The error only appears if there is no text in the edit window. If I have text there (anything at all), it allows me to set the type to markdown without error. I've been setting the type first, so that when I start typing, the preview window shows the content correctly.
Please let me know what else I can do to help (record video, try various things, etc). I'm a sysadmin with 20y experience mucking about with stuff, so if you need me to edit JS in the console or enable debugging or anything, I'm happy to do so. Just send me instructions.