editor.js
editor.js copied to clipboard
Editor.js stealing focus from modals by use of useCapture flag
I am using version 2.24.3 and I see that it adds a capturing keydown event listener on document. Because of that when someone types in a modal dialog on the page with Editor.js, it tends to steal focus away causing issues.
How do I fix that, because I can now no longer use stopPropagation?