ahmadawais / create-guten-block

📦 A zero-configuration #0CJS developer toolkit for building WordPress Gutenberg block plugins.
https://Awais.dev/cgb-post
MIT License
3.15k stars 328 forks source link

How can I share block's attributes to other blocks? #275

Open GBwuka opened 4 years ago

GBwuka commented 4 years ago

Hello, I have a question for support, When I create a block named ‘A’, I set A's attributes using setAttributes function, then I create another block 'B', now I find B's attributes is not A's attributes after setAttributes.

so How can I share the A's attributes to B?

hope for your response! Thanks you very much!