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

36 lines
664 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',
}
)
2023-08-29 12:11:33 +00:00
wp.blocks.registerBlockStyle(
'core/heading', {
name: 'markdown-heading',
label: 'Markdown-style Heading',
}
)
wp.blocks.registerBlockStyle(
'core/post-title', {
name: 'markdown-heading',
label: 'Markdown-style Heading',
}
)
2023-08-29 12:21:08 +00:00
wp.blocks.registerBlockStyle(
'core/list', {
name: 'arrow-list',
label: 'Arrows',
}
)
} )