make tabbed block style available to post titles
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ac71ee411f
commit
0492c109ea
@ -1,8 +1,15 @@
|
|||||||
wp.domReady( () => {
|
wp.domReady( () => {
|
||||||
wp.blocks.registerBlockStyle(
|
wp.blocks.registerBlockStyle(
|
||||||
'core/heading', {
|
'core/heading', {
|
||||||
name: 'tabbed-heading',
|
name: 'tabbed-heading',
|
||||||
label: 'Tabbed Heading',
|
label: 'Tabbed Heading',
|
||||||
}
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
wp.blocks.registerBlockStyle(
|
||||||
|
'core/post-title', {
|
||||||
|
name: 'tabbed-heading',
|
||||||
|
label: 'Tabbed Heading',
|
||||||
|
}
|
||||||
)
|
)
|
||||||
} )
|
} )
|
Loading…
Reference in New Issue
Block a user