Thanks for looking into this, again.
Still not working for me even using your plugin.. I've also tried on a Mac, v 1.6.8, same result.
Maybe this plugin has some prerequisites that I'm not aware of?
this is the list of my Markdown plugin (joplin default). Do you have something different?
Something I am missing to make this codemirror plugin work?
2021-01-27 08:08:06: joplin.plugins: "Uncaught exception in plugin "org.joplinapp.plugins.MatchHighlighter":", "Error: Property or method "contentScripts" does not exist in "joplin.contentScripts.register"
Error: Property or method "contentScripts" does not exist in "joplin.contentScripts.register"
at Object.<anonymous> (/tmp/.mount_JoplinhTzB0m/resources/app.asar/node_modules/@joplin/lib/services/plugins/utils/executeSandboxCall.js:47:23)
at Generator.next (<anonymous>)
at /tmp/.mount_JoplinhTzB0m/resources/app.asar/node_modules/@joplin/lib/services/plugins/utils/executeSandboxCall.js:8:71
at new Promise (<anonymous>)
at __awaiter (/tmp/.mount_JoplinhTzB0m/resources/app.asar/node_modules/@joplin/lib/services/plugins/utils/executeSandboxCall.js:4:12)
at Object.executeSandboxCall [as default] (/tmp/.mount_JoplinhTzB0m/resources/app.asar/node_modules/@joplin/lib/services/plugins/utils/executeSandboxCall.js:37:12)
at PluginRunner.<anonymous> (/tmp/.mount_JoplinhTzB0m/resources/app.asar/services/plugins/PluginRunner.js:135:68)
at Generator.next (<anonymous>)
at /tmp/.mount_JoplinhTzB0m/resources/app.asar/services/plugins/PluginRunner.js:8:71
at new Promise (<anonymous>)"
2021-01-27 08:08:06: joplin.plugins: "Finished running onStart handler: org.joplinapp.plugins.MatchHighlighter (Took 780ms)"
Hi @johano and @CalebJohn,
As I already mentioned, I'm using the lates 1.6.8 version and I have installed my compiled plugin or @CalebJohn 's plugin it makes no difference for me using either Linux appimage or Mac.
Can please someone help? Because, saying "for me it works" doesn't help
What OS / joplin version are you on?
Any prerequisite you installed to make this codemirror plugin work?
I just checked on an install of v1.6.8 and it didn't work either. I was previously testing on a dev build. It looks like the plugin api has changed between v1.6.8 and v1.7.*
You'll need to update to a pre release if you want to use this plugin.
You can get a pre-release for any platform using the link below