OiWorld / MindTheWord

An extension for Google Chrome that helps people learn new languages while they browse the web.
43 stars 47 forks source link

Pressing Enter on User Defined Translations Saves the Current Input #214

Closed max-Hawkins closed 5 years ago

max-Hawkins commented 6 years ago

How can we implement an easier system for entering user defined translations? If I have entered something in both the "original" and "translation" fields and I hit enter, I want the program to save the current translation pair and set the active component to be the "original" field input.

I've been learning a bit of web development, but I'm still unsure of how to manage that. I know I need to add a keypress listener to the "translation" field, but where can I do that?