gush-labs / kazan

VueJS web-app to practice Japanese
https://gush-labs.github.io/kazan/
GNU General Public License v3.0
1 stars 1 forks source link

Enable spellcheck for certain type of review cards #101

Open VadimGush opened 1 year ago

VadimGush commented 1 year ago

There is a type of cards which require user to write down English translation for Japanese words. In this particular case, spellcheck will be useful. So we need to enable it for those kind of cases.

bill876 commented 1 year ago

conditionally changing type between text and url will do that (i don't know what the condition is, though)

VadimGush commented 1 year ago

@bill876 yep, that will work.

Every card has a type: https://github.com/gush-labs/kazan/blob/master/src/core/Review.ts#L232 Only in case of the "meaning" we should enable spellcheck.