What problem does this address?
At the moment, when a new pattern is created, the synced toggle is forced into ON mode. This feels counter-intuitive for users who would prefer that this is OFF by default so that they can decide to toggle it ON if they wish so. Plus, there's no way of customising this whatsoever because the toggle value is hard-coded by default to undefined.
What is your proposed solution?
I suggest we add a filter blocks.syncType to the wp_block pattern post type so that users can be able to correctly set the toggle's default state when a new pattern is created.
What problem does this address?
At the moment, when a new pattern is created, the synced toggle is forced into ON mode. This feels counter-intuitive for users who would prefer that this is OFF by default so that they can decide to toggle it ON if they wish so. Plus, there's no way of customising this whatsoever because the toggle value is hard-coded by default to
undefined.What is your proposed solution?
I suggest we add a filter
blocks.syncTypeto thewp_blockpattern post type so that users can be able to correctly set the toggle's default state when a new pattern is created.