Chrome:
Version 106.0.5249.91 (Official Build) (x86_64)
Describe
In Chrome, as of at least above version, onChange does not fire on changes within a data block. It only fires when selecting a new datablock (not even switching between two existing blocks).
I checked in Firefox and everything works fine. I also tested in your basic Codesandbox example and it works there, but on Chrome it's not working and seems to be related to this error:
[Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
Environment
Packages: "@editorjs/editorjs": "2.25.0", "react-editor-js": "2.1.0",
Chrome: Version 106.0.5249.91 (Official Build) (x86_64)
Describe
In Chrome, as of at least above version, onChange does not fire on changes within a data block. It only fires when selecting a new datablock (not even switching between two existing blocks).
I checked in Firefox and everything works fine. I also tested in your basic Codesandbox example and it works there, but on Chrome it's not working and seems to be related to this error:
[Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952