Last active
October 27, 2019 14:07
-
-
Save vanaf1979/a4f0ac1d15ea87c3477bd5dfff980ea8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wp.domReady( () => { | |
wp.blocks.registerBlockStyle( 'core/heading', [ | |
{ | |
name: 'default', | |
label: 'Default', | |
isDefault: true, | |
}, | |
{ | |
name: 'uppercase-heading', | |
label: 'Uppercase', | |
} | |
]); | |
} ); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment