Open maxme opened 4 years ago
For creating a reusable block from multiple blocks, we would require first to implement the feature of selecting multiple blocks which is not currently available and probably would be quite complex.
My idea for this task is to split it into two parts:
Since there are no blockers for the first part, we could start implementing it and put on hold the second one until the mentioned feature is implemented.
NOTE: I'm going to update the description of the issue with this information.
For creating a reusable block from multiple blocks, we would require first to implement the feature of selecting multiple blocks which is not currently available and probably would be quite complex.
I think the option to select multiple blocks would be very useful, since we can't "select all" and select all blocks at once, deleting multiple blocks is tedious at the moment. (Of course here it would be useful for reusable blocks like you mention.)
For creating a reusable block from multiple blocks, we would require first to implement the feature of selecting multiple blocks which is not currently available and probably would be quite complex.
I think the option to select multiple blocks would be very useful, since we can't "select all" and select all blocks at once, deleting multiple blocks is tedious at the moment. (Of course here it would be useful for reusable blocks like you mention.)
I totally agree, the multi-selection feature would be an awesome improvement. I'm going to check if we already have an issue for this topic, if not I'll create it because I have some ideas that would be interesting to discuss 😊 .
Description
On the web version of Gutenberg, a user can pick one or more blocks and create a new "Reusable block" from it.
UI to create a reusable block:
UI to name it:
User documentation on wordpress.com https://wordpress.com/support/wordpress-editor/blocks/reusable-block/#create-reusable-block
This task can be separated into two parts:
Implementation
1 - Create a reusable block from a single block
The user flow would be:
...
button2 - Create a reusable block from multiple blocks
For creating a reusable block from multiple blocks, we would require first to implement the feature of selecting multiple blocks which is not currently available. Until this feature is implemented we should put this part on hold.