@lyonbot/interactive-blocks
Make your Block and Slot components interactive!
[
How Interactive?
- (multiple) selectable!
- copy and paste! with system clipboard
- keyboard shortcuts!
- drag and drop! (optional)
These keyboard shortcuts are supported!
-
Ctrl+X
,Ctrl+C
,Ctrl+V
- Navigate with arrow keys
- Select multiple blocks with
Shift
+ arrow keys - Select all blocks with
Ctrl+A
-
Delete
,Backspace
How to Integrate
This lib works with any framework, including React and Vue. Example is written with preact and works with React too.
Please read https://github.com/lyonbot/interactive-blocks/#how-to-integrate