editor.js
editor.js copied to clipboard
[Bug] Copy / Past text with multiples paragraph doesn't save the last paragraph
Describe a bug.
Steps to reproduce:
- Go to https://www.lipsum.com/feed/html
- Copy 2/3 paragraph (ctrl + c)
- Go to https://editorjs.io/
- Remove every data of the sample
- Past the text copied in step 2 (with ctrl + v)
Expected behavior:
The last paragraph is saved
What happened:
The last paragraph is not saved
Screenshots:


Device, Browser, OS:
Browser: Brave (Chromium based) OS : ArchLinux / Mac Editor.js version: https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest
Plugins you use with their versions:
The same situation
same
Workaround : save 2 times (yeah ...)
let savedData = await api.saver.save();
savedData = await api.saver.save();