autonomic-block-theme/js/block-styles.js
Aadil Ayub 36945564f7
All checks were successful
continuous-integration/drone/push Build is passing
create arrow list block style
2023-08-29 17:21:08 +05:00

36 lines
664 B
JavaScript

wp.domReady( () => {
wp.blocks.registerBlockStyle(
'core/heading', {
name: 'tabbed-heading',
label: 'Tabbed Heading',
}
)
wp.blocks.registerBlockStyle(
'core/post-title', {
name: 'tabbed-heading',
label: 'Tabbed Heading',
}
)
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',
}
)
wp.blocks.registerBlockStyle(
'core/list', {
name: 'arrow-list',
label: 'Arrows',
}
)
} )