obsidian-vale
obsidian-vale copied to clipboard
TypeError: r.getAllMarks
Obisidian version v0.13.0
Uncaught TypeError: r.getAllMarks is not a function
at eval (eval at <anonymous> (app.js:1), <anonymous>:367:59524)
at Y8.withCodeMirrorEditor (eval at <anonymous> (app.js:1), <anonymous>:367:60241)
Thanks for reporting! I'll try to look into this later this week.
Same here on v0.13.6

Same error message here.

Seems like the API has changed in v13.x. I'll have time to look at this next week. Thanks for reporting this!
I believe that once Obsidian 13 is officially released, it'll have a Legacy Editor option to support plugins that depend on features that haven't yet been made available to plugins in 13.x. I'll look for a proper fix, but at least the plugin will continue to work with the new option.
I've added a Troubleshooting section in the README on how to enable the Legacy Editor for now.
Hi Marcus! I'm a big fan of Valeβ just wanted to check whether you still plan on supporting CM6 now that Obsidian 13 is officially released. This is such a phenomenal tool
Hey! I'm definitely planning to upgrade the plugin. I haven't had the chance to look into it yet, but AFAIK the new Editor API has yet to achieve feature parity with CM5, and doesn't support markers yet. If there's a way to grab the CM6 instance somewhere, that might also work. If anyone knows how, I'd be happy to prioritize this. Otherwise, I'll try and find some time for this in the coming weeks.
yeah I came here to report the same thing β it seems the new editor is not supported :(
@chrisgrieser Sorry 'bout that π I'll try and look into this next week.
Just to give an update. I've been reading up on how to migrate from CM5 to CM6, and unfortunately there doesn't seem to be an easy fix to this.
If anyone want to experiment, here's the best resources I've found so far:
Seems like we'd need to build a CodeMirror extension rather than calling methods for adding marks.
I haven't given up on this, but right now this seems to require more time than I have at the moment. Seems like I need to read the CodeMirror docs more closely before I give this another try.
Thanks for the patience! π
Thanks for including the experimentation tips! I'll include this in the Roundup :)
Hi! Thank you for creating such an awesome extension. While it works like a breeze in the legacy editor, I simply can't leave the features of the new editor like a live preview. Any update on this?
Thank you @mohitmujawdiya! No updates unfortunately.
I definitely want to fix this, though I haven't yet found the time to work on it. I don't have any estimate on when I'll be able to.
hi Marcus! no problem, i'll wait. (will keep using linter and language tool plugins for now)
Hi there, any updates on this?