copyable-blocks

1.0.4 • Public • Published

@lyonbot/interactive-blocks

GitHub Workflow Status npm

Make your Block and Slot components interactive!

[ ▶️ Try the Demo ] [ 📁 View on GitHub ]

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

Readme

Keywords

none

Package Sidebar

Install

npm i copyable-blocks

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

1.63 kB

Total Files

4

Last publish

Collaborators

  • lyonbot