@hengiesel Porting the setup to the new changes wasn’t that bad. It’s good that you push these “breaking” updates while the userbase is still manageable.
Interested to see the new list wrapping in action!
In case anyone else faces a similar challenge,
here’s what it took for me:
-
To get the occlusion editor to start again, I moved the CSS-injecting parts from the Closet setup into the template’s styling section.
-
Then, I had to fix some advanced features of my type, which relies on these features:
With the Webview Inspector I saw that something calling “.show” was throwing an error. When taking a look at closet/src, I saw that cloze.ts
was moved. So changing this function
const wrappedClozeShow = closet.wrappers.aftermath(closet.recipes.cloze.show, () => {
....
})
to
…(closet.flashcard.recipes.cloze.show, () => {…
fixed my note type
For debugging your setup, I recommend using the AnkiWebView Inspector on the add-dialog and preview + looking at closet’s file structure.