Closed luisherranz closed 2 years ago
I wonder if that was on purpose
Probably not! Your change makes sense, did you have a chance to test it? Does it fix the issue?
Oh yes, it fixes Notion and doesn't break any other sites that I use 😄
I just realized that this was never shipped. Now it's in https://github.com/fregante/GhostText/releases/tag/22.3.17
I was taking a look to see why Notion was not working properly and I noticed that for fields that are
contentEditable
, the events are not dispatched because thecontentEditable
wrapper doesn't have theelement.dispatchEvent
method bonded. Therefore, this conditional is never run.I wonder if that was on purpose or not. Notion seems to depend on the
input
event, so it woks fine after this modification.