various cleanups while tracking down an issue
various cleanups while tracking down why it doesn't work on https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_textarea
What is this PR trying to achieve? I don't really want to merge a bunch of ancillary code motions and debug logs unless they are going to be useful in the long term. What is the actual fix in here?
What is this PR trying to achieve? I don't really want to merge a bunch of ancillary code motions and debug logs unless they are going to be useful in the long term. What is the actual fix in here?
it fixes nothing. what it does is it greatly improves debuggability.
the issue that needs to be fixed is that the contextmenu event is not triggered at various places. e.g. see the link in the PR description.