Skip to content
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

Feature Request: Cut & paste blocks #160

Open
boehsermoe opened this issue Nov 16, 2018 · 8 comments
Open

Feature Request: Cut & paste blocks #160

boehsermoe opened this issue Nov 16, 2018 · 8 comments

Comments

@boehsermoe
Copy link
Member

When I want to move a block from inside a container block, which is at the bottom of the page, to the top of the page (or to another container block). Currently I have to add the block to the clipboard and move it to the new placeholder and than remove the old.
Here would be cut & paste function useful.

@nadar
Copy link
Member

nadar commented Nov 16, 2018

Cut & Paste sounds interesting to me, the cut button would be easy done - but where and how does the Paste button look like?

@boehsermoe
Copy link
Member Author

boehsermoe commented Nov 16, 2018

After click the "cut" button the "paste mode" will be active and could look like this:
screenshot 2018-11-16 at 18 54 12

Either the "paste area" could be visibly instantly for all blocks or only on hover one block. After paste or cancel the "paste mode" will disabled.

@nadar
Copy link
Member

nadar commented Nov 18, 2018

Yes, this could work, i was thinking about the same solution - maybe it could look a bit differente, i will draw something.

@TheMaaarc
Copy link
Member

I think we should go with a button shape for the "paste here" action, because you need to click and not drag & drop the element, right?

@boehsermoe
Copy link
Member Author

@TheMaaarc Yes right, I agree.

@nadar
Copy link
Member

nadar commented Feb 27, 2019

@boehsermoe cut + paste is equal to "moving the block by dragging the block the the top" for large pages, yes this is sometimes a little heavy task as you have to click and scroll at the same time.

Instead of adding another button, we could just make the page scroll up and down when we are close the edge of the screen. So we could improve the drag&drop behavior instead of providing two solutions for the same task, and also not clutter the UI.

@boehsermoe
Copy link
Member Author

Maybe it is be enough if the page will scroll up and down while dragging. We should try this at first it will improve the UI anyway.

But I think it would be much better UX if the block can be move/cutting by a context menu like this:
uifinal

Other idea is that there are two kind of modes. One for editing the block content and add blocks etc. and a second for extended layout editing. In layout mode the block preview is only the name or id of the block to make it easier too drag&drop the block.

@TheMaaarc
Copy link
Member

Shouldn't be too difficult to integrate a context menu – just needs time.
But would be a nice addition to hide stuff like copy, hide and possibly future functionality.

@nadar nadar removed their assignment Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants