Open agonqorolli opened 1 year ago
Just wanted to confirm I am still able to replicate this in the 2.26.4 version that is running on the Editorjs.io homepage right now.
Hi, @kanejamison have you found a way to solve it yet (any workaround would work as well), I'm having the same issue with the editor and can't seem to solve it.
Debouncing the onChange
callback function seems to do the trick
// requires lodash
editorConfig.onChange = _.debounce(function() {...}, 200}
Hi @iraklisg, thanks for suggesting it. I'll try that.
Debouncing the
onChange
callback function seems to do the trick// requires lodash editorConfig.onChange = _.debounce(function() {...}, 200}
This does solve the issue. Thanks for suggesting it.
Still not fixed
One important thing: this bug can be reproduced ONLY on windows, macos works perfectly
Describe a bug.
Steps to reproduce:
Expected behavior: All pasted blocks should be available in clean data
Screenshots:
Device, Browser, OS: Chrome browser in MacOS.
Editor.js version: Not sure
Plugins you use with their versions: Not sure