-
-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom blocks don't cut-paste properly #813
Comments
Actually, with another custom block i was building, copying/pasting didn't work either. |
Thanks. I can't reproduce the issue in the video on Chrome Mac OS. Which browser are you using? Also, curious to hear what you're building! |
Managed to reproduce on Chrome: Screen.Recording.2024-06-11.at.15.47.39.movSeems super flaky though, could only do it on a fresh reload of the page |
I'm using Chrome 122 on Ubuntu Linux.
…On Thu, Jun 6, 2024 at 12:50 AM Yousef ***@***.***> wrote:
Thanks. I can't reproduce the issue in the video on Chrome Mac OS. Which
browser are you using?
Also, curious to hear what you're building!
—
Reply to this email directly, view it on GitHub
<#813 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFBLXPJXD2GFXBMPAXLIULZGAIELAVCNFSM6AAAAABI3X62QWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJRGYZDQNZQHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The issue is even more weird. If you copy the blocks and paste them, it works as expected. And then if you cut and paste those blocks, IT WORKS. But if you cut-paste the first time, it doesn't. But when a block/group of blocks have been already copy-pasted, then cut-paste seem to work. cut-paste-bug.mp4 |
Describe the bug
When cutting-pasting custom blocks, unexpected behavior happens.
In the case of the custom alert block from https://www.blocknotejs.org/docs/custom-schemas/custom-blocks, the alert box seems to disappear. In other cases, indeterminate behavior happens.
Copying and pasting seems to work. Its cutting and pasting that doesn't.
To Reproduce
Please watch the screencast here: https://share.vidyard.com/watch/x2VNexUuFWMZy2X7kLc7ym
Basically, select the custom block, then "ctrl-x", "ctrl-v".
The text was updated successfully, but these errors were encountered: