carbon-ui-builder
carbon-ui-builder copied to clipboard
Add copy and paste hot keys
It would be nice if I could use keyboard for common actions. Here's a short list of relevant hot keys that I commonly use in sketch with most common at top
- [x] ~~delete key~~
- [x] ~~duplicate ctrl D~~
- [ ] copy ctrl C
- [ ] paste ctrl V
- [x] ~~undo ctrl Z~~
- [x] ~~redo shift ctrl Z~~
Delete, duplicate, undo and redo are now available.
Copy and paste will take a bit more time.
where should I add the resolved issue? @gcate
Hey @kushcoder12, what do you mean? :)
By copy and paste, do you mean the copied component must drop into a specified Column within a certain Grid?
@theGeekyLad Hitting a copy hotkey would put the component(s) json into clipboard. Hitting a paste hotkey would parse the json in clipboard and if it's valid component(s), it would add it to wherever the current selection is using the default drop-like behaviour.
Does that make sense?
@zvonimirfras can i try to work on this?
Sure, @Gobinath-B 😃
Go ahead!
Do you have a specific idea about the approach?
I would like to try to implement this approach.
@theGeekyLad Hitting a copy hotkey would put the component(s) json into clipboard. Hitting a paste hotkey would parse the json in clipboard and if it's valid component(s), it would add it to wherever the current selection is using the default drop-like behaviour.