Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Wait for the paste event to complete before trying to read the results #219

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jdelStrother
Copy link

Hi, I ran into a problem with Hallo with users who use the GUI to paste text, rather than using ⌘V like a regular human being. The paste event occurs before the text is actually pasted in, so editor doesn't yet contain the pasted text when checkModified occurs. It happens to work for ⌘V because you also get a keyup event immediately afterward.

How about delaying the checkModified function like so?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant