How can I add a color picker to a custom Gutenberg block which includes the default system palette from theme.json?
How can I add a color picker to a custom Gutenberg block which includes the default system palette from theme.json?
How can I add a color picker to a custom Gutenberg block which includes the default system palette from theme.json?
Carolina Nymark pointed out, that there is possibility to filter transforms as any other settings, so one can modify the transformation like this: const { addFilter } = wp.hooks; const { assign, merge } = lodash; const { createBlock } = wp.blocks; function transformHeading(settings, name) { // Filter only heading. if (name !== ‘core/heading’) { … Read more
No, currently gradient support in the heading block has not been implemented. You can declare that it supports it in theme.json or via supports, but there is nothing in the block to read that data in and use it. Gradient support has to be built into a block, it can’t be inserted arbitrarily. The closest … Read more
How to Disable auto id attributes in Heading tag?
Double container elements on custom block in editor
How to use in Block Editor – react-bootstrap?
How do I disable or hide the Layout block setting in the Group block
How to add screen reader text to links inserted in the block editor?
block variations registration in PHP
Track Block Pattern Insertion Within the Block Editor