Arthur-Milchior / anki-resize-image

GNU General Public License v3.0
7 stars 4 forks source link

Error message in cards #29

Open zebrahead6066 opened 4 years ago

zebrahead6066 commented 4 years ago

As I installed the add-on, a message is fixed on every card, but the resize function is viable.

Is there a way to fix this? Thanks admin for the great work!

image

Arthur-Milchior commented 4 years ago

To which part of the card is it added ?  This is shown in the question/answer you see ? That's not normal, I'll take a look. Can you export a card with the bug and send it to me please ?

zebrahead6066 commented 4 years ago

This message only shows in NoteType "MonokaiCloze-Radio" (github), but other notetype is unaffected. image

Here is the exported card resize addon issue.zip

It might be resulted from the html styling section shown below image

but as I delete them, it automatically restore that setting as if nothing happened, the text remains.

Arthur-Milchior commented 3 years ago

The problem I believe is that this cards uses "Styling" for code, whichi s not supposed to be styling at all. You can copy paste the part related to the add-on and put it outside of script in a part that is supposed to be css.

But essentially, this is not a standard way to make a card, even with code in it, and I won't correct the add-on here