You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifically, on international keyboard (for example writing Chinese), user types some PinYin and select the Chinese character with mouse. That ONLY triggers compositionend event. And I dont see compositionend is telling Etherpad a new character is been inputted? This doesn't cause a keypress event. So how Etherpad know compositionend has made a change to DOM?
Lastly, why are we not using MutationObserver to observe changed to contenteditable? Is this a reason for this design?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Specifically, on international keyboard (for example writing Chinese), user types some PinYin and select the Chinese character with mouse. That ONLY triggers
compositionend
event. And I dont seecompositionend
is telling Etherpad a new character is been inputted? This doesn't cause akeypress
event. So how Etherpad knowcompositionend
has made a change to DOM?Lastly, why are we not using
MutationObserver
to observe changed tocontenteditable
? Is this a reason for this design?Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions