Open DanielRunningen opened 5 months ago
Two important features. Thanks for working on it
For folks who want to be able to use this without waiting for the full PR to be approved, here is my modified main.js
as a zip file. It also includes the date fix from my other PR.
To use it:
.obsidian/plugins/zotlit/
. It will replace the main.js
that's already there.[!WARNING] I can't guarantee that this won't break something, so if you run into trouble with it, or suddenly don't trust me as a stranger on the internet, you can uninstall ZotLit as a plugin from Obsidian and re-install it. Your templates should remain unaffected.
Edit: clarifications
This is just a draft to get a really important feature addressed. It should close #246 and possibly resolves #269 as well.
I propose two things:
update
function, and then forward the request tocreate
if the item doesn't exist, but the reverse should do fine.Doing a bulk import with these changes does still trigger the Obsidian menu to choose attachments for some of the items, but I feel like this is unavoidable and any assumptions made during import could be the wrong ones, so this part of #269 might be unavoidable.
I tried not to touch too many files, since this is all reverse-engineered from the Obsidian console. I would be happy to add/improve these changes, but I'd need some tips on building the repository.