-
Notifications
You must be signed in to change notification settings - Fork 56
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
Proposal: Copy/Cut/Paste blocks #2326
Comments
I agree w/ your general assessment, this would be a really natural thing to have. I think there are 2 main considerations in my mind — using the native Edit/Selection Menus (mostly tied to richText blocks) and copy/paste via the The obvious path on the RN side is the Alternatively, using the native Edit/Selection Menus would work something like this: When the user taps a richText input, we inherently show the Edit/Selection Menu, which shows options for copy/paste/etc. If the block is empty, we skip straight to replacing the empty block with the one from the clipboard. If the block has contents, we show the position sheet (paste above, below, replace current block). That would look like this (example uses an empty paragraph block): Any thoughts on this? I imagine the easier part will be the RN side, but let's discuss. |
Currently there’s no way to move a block inside/outside of nested blocks which is a big missing piece. Cut/Paste can be a quick way to support this.
When I style a button block I feel the need to just copy the same button near it. Currently you can only add a new Button block from scratch. Copy paste can be a quick way to cover these kinds of needs. Button block is just an example but we'll keep on adding more style options to the blocks.
Copy/Cut/Paste is a popular paradigm so I feel like we can have a quick win feature here without needing to complicate the editor.
What I have in mind is just putting the copy/cut options to the new block menu we have. (The one that also has the Trash icon.)
Again if sth has been copied or cut, we could show options there like
Paste after this
,Paste before this
.cc @iamthomasbishop
The text was updated successfully, but these errors were encountered: