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.28k stars 117 forks source link

Update the editor when the field is changed programmatically #84

Open fregante opened 7 years ago

fregante commented 7 years ago

Programmatic changes (e.g. textarea.form.reset() and textarea.value = '') don't trigger any events, so GT should detect this in some other way.