Hi,
I’d like to ask for versed developers where I would need to look for in order to make this addon work for 23.10. It is one of the few add-ons I rely on for using Anki on a daily basis and the only reason I keep using 2.1.49.
Hi,
I’d like to ask for versed developers where I would need to look for in order to make this addon work for 23.10. It is one of the few add-ons I rely on for using Anki on a daily basis and the only reason I keep using 2.1.49.
Looks like the add-on relies a lot on internal editor details so it’ll probably require a full rewrite to work on Anki 2.1.50+. Specifically, it works by overriding the function Anki used to use to add the fields to the DOM (setFields
) to add the fields to a table, but this is no longer has any effect.
Have you considered using Grid Fields instead? That one is also broken (even in 2.1.49) but I recently forked it and updated it for Anki 2.1.54+: Release Grid Fields Update for Anki 2.1.54+ · abdnh/anki_grid_fields · GitHub
Grid Fields also uses a less intrusive approach that’s less likely to break with any change to the editor internals and more compatible with other add-ons.
I actually used grid fields in the past. I just tried your fork in 2.1.66 and I get this:
When loading ‘anki_grid_fields-1.1.0’:
Traceback (most recent call last):
File “aqt.addons”, line 246, in loadAddons
ModuleNotFoundError: No module named ‘anki_grid_fields-1’
Can’t reproduce that. It should work if you drop grid_fields.zip into the add-ons dialog or use “Install from file”.
I see. Yes it works, thank you! Is there a reason your fork is not in ankiweb?
I wanted to fix some remaining issues such Fields can't span multiple rows · Issue #1 · abdnh/anki_grid_fields · GitHub and send a PR instead, but having the fork on AnkiWeb will be good for discoverability in the meantime so here you go: https://ankiweb.net/shared/info/1796231164