Closed Azeirah closed 3 years ago
Ideally it should simulate the whole sequence of events, from keydown
to input
, but I haven't had time to work on it in a while.
GhostText fires the input
event on the field, so if you control the textarea use that event instead. Keep keypress
too for IE compatibility (I think).
I moved the discussion to the right project: https://github.com/Cacodaimon/GhostText-for-Chrome/issues/43
Moving this back here. We need to add the remaining events:
Like in https://github.com/Cacodaimon/GhostText-for-Chrome/commit/eb7029fb4f80352f8ecc17f0a6254e3de02f5478
@Cacodaimon do you have time?
I've got a textarea which maps source text to a markdown preview which updates automatically on keypress events. GhostText doesn't fire any keypress events, because of this, the preview doesn't get updated at all.