make tabbed block style available to post titles
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
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