Closed AnnaKornfeldSimpson closed 2 years ago
The sample plugin isn't importing any of the CodeMirror packages by default so there isn't much change required here. However, for your plugin that uses CodeMirror 6 packages, you will want to upgrade all of them to ^6.0.0
or later.
The Obsidian forum has this guide for plugin developers on the CM 6 / codemirror v6.0 upgrade in the obsidian API. What changes need to be made to this sample plugin to follow the guide? For example, I think the list in the
esbuild
config needs updating, but are other changes necessary? Thanks in advance for any and all answers or links to further reading!