Add A Tag To A Post Through JavaScript In Gutenberg UI?
Add A Tag To A Post Through JavaScript In Gutenberg UI?
Add A Tag To A Post Through JavaScript In Gutenberg UI?
Passing settings from Reusable Block to it’s children
Displaying admin notices inside the block editor from rest_after_insert_{$this->post_type} hook
Extend the “core/link” Block Format
Possible to add a meta field for css attribute to the editor Advanced panel?
Do I need wp-tinymce-js?
You can still use the onChange listener and do setAttributes only when value passed in onChange is different from the one in attributes.customColors. This is one if and should not penalize performance much.
How to add a link in a translation in gutenberg
Your block type did not register the playlist attribute (it only registers content and color) so props.attributes.playlist is not available within your save() function.
In case anyone is interested, I’m answering my question: The blocks parameter in the transform code should be [ ‘core/legacy-widget’ ] instead of [ ‘my/custom-block’ ]. For a from transform it indicates the block(s) you want to transform from, which in this case is a legacy widget.