Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.4k stars 1.98k forks source link

Copy Styles Option on Gutenberg Blocks #66156

Open syhussaini opened 2 years ago

syhussaini commented 2 years ago

What

I would like to have an option to Copy Styles of a block so that it can be pasted on another block.

Why

Having an option to Copy Styling of a block will speed the work of composing the posts and pages.

How

I found a similar solution in the Stackable Page Builder

And I also found it in the Editor Plus plugin.

See the image below for reference image Please click here if you are unable to see the image above

zachspears commented 2 years ago

Hey @syhussaini, thank you for submitting this idea. For some additional information, how would this meaningfully differ from creating a Reusable block?

cuemarie commented 2 years ago

📌 ACTIONS

syhussaini commented 1 year ago

Hey @zachspears, thank you for replying. The reusable blocks carry the content and the style together, whereas my idea here is to copy the formatting/style only.

zachspears commented 1 year ago

@syhussaini Thank you for clarifying! I think this could be a useful addition, especially if you are looking to recreate the look and feel of another block. Marking Low priority due to low impact.

I will note that as a current workaround, you could simply duplicate the existing block and then update the content.