- This topic has 2 replies, 2 voices, and was last updated 6 months ago by .
Hi! I'm willing to make some global props native controls for all types of blocks (core, mb-blocks etc.) like style select dropdowns, visibility checkboxes and more. I'm doing all like in this tutorial: https://jeffreycarandang.com/extending-gutenberg-core-blocks-with-custom-attributes-and-controls/ and it works great on native core blocks, but on mb blocks the props wont be saved within a js filter 'blocks.getSaveContent.extraProps', because the block is renderd with a render_callback via php. I'm wondering, what should I do to hook into mb-blocks and set this props on block edit and save?
- You must be logged in to reply to this topic.