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

Addon adds media from wrong toggles #17

Open
ramuench opened this issue Jan 18, 2023 · 3 comments
Open

Addon adds media from wrong toggles #17

ramuench opened this issue Jan 18, 2023 · 3 comments

Comments

@ramuench
Copy link

ramuench commented Jan 18, 2023

First of all: Great addon, would be perfect for me unfortunately I have the following problem: when I import my cards I end up with media from completely different toggles. The text is imported correctly but the images are from toggles that come only much later in my notion file. I hope you have advice or can fix this as the addon would be amazing if it worked correctly for me.
Another less critical issue is that the addon syncs / imports cards even though I have set the interval to 0.
Im using Anki 2.1.49
Thank you

@9dogs
Copy link
Owner

9dogs commented Jan 18, 2023

Can you import the Notion page you're directly from Notion and look if any images are mixed in the HTML?

@ramuench
Copy link
Author

When I export the page from notion into a html all images are right. I should add that not all images are mixed up, it is only a couple that were wrong. (but it happened 2 or 3 times that I exported)
I just exported the whole page again and couldn't replicate the issue. I'll create a bunch of cards tomorrow and get back to you should it happen again! Thank you for the reply!

@ramuench
Copy link
Author

Hi, the problem is happening again for me. It is super weird...
The mixed up media that is put in my cards instead of the correct images is from toggles that are marked with the :! symbol.
The media is always the same.
Even after moving the clozes from which the wrong media was taken to another page, in the new export the media is still being put into the same Anki cards. (From toggles which aren't even in the notion page anymore...) Reinstalling the addon also didn't do anything...
I now created a new page and moved the to-be exported clozes there and now everything worked as expected.
Greetings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants