Edit-Field-During-Review-Cloze icon indicating copy to clipboard operation
Edit-Field-During-Review-Cloze copied to clipboard

Addon changes behavior in editor of card types

Open itsdomme opened this issue 3 years ago • 3 comments

Hi, I suppose it shouldn't be this way: When I edit the card types and I use "edit:" for the front, I can't use normal spaces and a new line is forced. But when I don't use "edit:" it's working properly.

With editing: Screenshot 2021-08-26 123844

Without editing: Screenshot 2021-08-26 124111

Does anybody has a hint for me?

itsdomme avatar Aug 26 '21 10:08 itsdomme

Try changing the addon config ‘tag’ from 'div' to ‘span’.

But a word of caution: I don’t test the addon with span option, so you may encounter more bugs. And it’s also not impossible that the config option will be removed some day.

BlueGreenMagick avatar Aug 26 '21 13:08 BlueGreenMagick

Unfortunatelly doesnt change anything

itsdomme avatar Aug 30 '21 15:08 itsdomme

In case you haven't, can you check if setting it to 'span' doesn't work in the reviewer as well?

When I tested it, the fields were below the other in the note type template previewer, but they were side by side in the reviewer.

EDIT: Looks like the cause was because the config is only updated at the start and when review session starts. Restarting Anki will do the trick as well.

BlueGreenMagick avatar Aug 30 '21 15:08 BlueGreenMagick