mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-25 22:16:49 +08:00
Related discussion: https://github.com/ianstormtaylor/slate/issues/5108 This block undoes the addition of div.onbeforeinput = () => {}. This is very, very gross, but Slate uses the presence of this handler (Added in Chrome 105) to activate a new version of it's event handling, which doesn't quite work properly in our old version of Slate: https://github.com/ianstormtaylor/slate/issues/5108#issuecomment-1297591129 Since this was added to Chrome in v105, we can be fairly confident nothing else needs it to exist, or will similarly fall back to document.addEventListener('beforeInput') One day, we will update Slate to the latest version, but 0.50.x is effectively a rewrite and we have /lots/ of custom plugins that need to be re-built and re-tested. |
||
---|---|---|
.. | ||
build | ||
dot-mailspring | ||
internal_packages | ||
internal_packages_disabled/thread-unsubscribe | ||
keymaps | ||
lang | ||
menus | ||
script | ||
spec | ||
src | ||
static | ||
package-lock.json | ||
package.json | ||
result-counter.js | ||
results.txt | ||
tsconfig.json |