create markdown heading block style
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:
@ -12,4 +12,18 @@ wp.domReady( () => {
|
||||
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',
|
||||
}
|
||||
)
|
||||
} )
|
Reference in New Issue
Block a user