fregante / GhostText

👻 Use your text editor to write in your browser. Everything you type in the editor will be instantly updated in the browser (and vice versa).
https://GhostText.fregante.com
MIT License
3.25k stars 116 forks source link

Dispatch change event #214

Closed luisherranz closed 2 years ago

luisherranz commented 2 years ago

GhostText was dispatching different events to simulate the user input, but not the change event. This PR adds it.

Fixes #213.

fregante commented 2 years ago

The change event seems to unrelated to the input itself but rather to blur. The browser will still fire it after you come back to the browser and blur the field