vigetlabs / colonel-kurtz

A Block Editor
MIT License
319 stars 33 forks source link

Expose menu functions to individual blocks #127

Open jonnyscholes opened 7 years ago

jonnyscholes commented 7 years ago

We are using this library for a highly designed end user interface. Our design calls for a number of the actions to be moved out of the block menu so the user can get to them quickly. Currently there doesnt seem to be a (clean) way of accessing the menu functions from a block. We are specifically looking to use the remove function - however I wonder if a more holistic approach would be to have all menu functions made available to the block.

What do you think? I'd be more than happy to submit a PR if you think this is inline with this library.

colonel-kurtz is by far the best React based block editing library out there - it would be great if whilst it has a very keen eye on a specific UX it could expose a few more of its internals like this so it's more flexible/extensible!