autonomic-block-theme/js/block-styles.js

15 lines
278 B
JavaScript
Raw Normal View History

wp.domReady( () => {
wp.blocks.registerBlockStyle(
2023-08-29 10:44:31 +00:00
'core/heading', {
name: 'tabbed-heading',
label: 'Tabbed Heading',
}
)
wp.blocks.registerBlockStyle(
'core/post-title', {
name: 'tabbed-heading',
label: 'Tabbed Heading',
}
)
} )