Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upadate obsidian to 1.4.0+ can't return the id label after the nots. #197

Open
Peingxious opened this issue Aug 23, 2023 · 12 comments
Open
Labels
bug Something isn't working

Comments

@Peingxious
Copy link

I tested Obsidian 1.3.5 and 1.3.7, it's OK.

But the update to 1.4.0 changed the yaml styles and can't return the id label after the nots.

Now it's obsidian 1.4.3。

@Peingxious Peingxious added the bug Something isn't working label Aug 23, 2023
@Peingxious
Copy link
Author

#194 there is a upper fixed the plugin's bug , and I dev it and sent it . If someone looked at it ,you can download it and replace it ,fix can't used at obsidian 1.4.4
main_166.zip

@yshhwy
Copy link

yshhwy commented Sep 1, 2023

Thank you for your fix. It works well! Saved the day!

@borisnaydis
Copy link

borisnaydis commented Sep 4, 2023

If anyone wants to check what is changed in the main_166.js compared to the unmodified main.js, you need to format main.js with Prettier. After that it's much easier to spot the changes.

@joe19960
Copy link

joe19960 commented Sep 6, 2023

thanks,your code works well.

@jzkelter
Copy link

#194 there is a upper fixed the plugin's bug , and I dev it and sent it . If someone looked at it ,you can download it and replace it ,fix can't used at obsidian 1.4.4 main_166.zip

If anyone doesn't know how to replace main.js for the plugin, this video should help: https://www.youtube.com/watch?v=ffGfVBLDI_0

@subwaysurety
Copy link

subwaysurety commented Sep 28, 2023

Unfortunately, it doesn't work, at least on Mac Version 1.4.14. , it doesn't work.
Anki 2.1.65

I reloaded the plugins after adding but still the same. main_166 renamed to main.js

I would appreciate some help or a workaround cos it completely threw a wrench in my language learning.

@WEelCh
Copy link

WEelCh commented Oct 3, 2023

I would appreciate some help or a workaround cos it completely threw a wrench in my language learning.

Some crude workaround would be to manually delete the YAML in the file EVERY TIME you want to "push" to anki
( The Plugin will then generate it new with its cards-deck prop )

Very bloody i know :(

** Also keep in mind, that if you use any other YAML props in the file, you need to, i guess copy 'n paste them every time you use this "solution"
*** Also SETTINGS > EDITOR > PROPERTIES IN DOCUMENT > SOURCE is needed for this to work easy (the "UI" for the Properties is weird)

@crossz
Copy link

crossz commented Oct 31, 2023

Unfortunately, it doesn't work, at least on Mac Version 1.4.14. , it doesn't work. Anki 2.1.65

I reloaded the plugins after adding but still the same. main_166 renamed to main.js

I would appreciate some help or a workaround cos it completely threw a wrench in my language learning.

This patched js file works for me, Obsidian 1.4.16, Anki 2.1.66. Just FYR.

@subwaysurety
Copy link

Unfortunately, it doesn't work, at least on Mac Version 1.4.14. , it doesn't work. Anki 2.1.65
I reloaded the plugins after adding but still the same. main_166 renamed to main.js
I would appreciate some help or a workaround cos it completely threw a wrench in my language learning.

This patched js file works for me, Obsidian 1.4.16, Anki 2.1.66. Just FYR.

Obisdian Version 1.4.16 (Installer 1.4.13), Version 1.4.16 (Installer 1.4.13), Anki Version ⁨23.10 (51a10f09)⁩

still the same unfortatelly on Mac Intel

@GribbleP
Copy link

I'm having the same issue. M1 Macbook Air, Obsidian 1.4.16, Anki 2.1.65.
Tried replacing the main.js with main_166, reloaded the plugins, restarted everything, etc. Still getting the following error in the console:
image

Have absolutely loved this plugin, and this is a huge bummer! Especially it happening a month away from my upcoming board exam... would really benefit from this working again.

@MatanRubin
Copy link

I can confirm the fix worked for me on macOS, Obsidian 1.4.16, and Anki 23.10.1

@GribbleP
Copy link

What plugins are you running, if you don't mind me asking?

I can confirm the fix worked for me on macOS, Obsidian 1.4.16, and Anki 23.10.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants