chore(deps): Bump dependencies
revert(assets): Rename js/ back to scripts/ revert(assets): Rename css/ back to styles/
This commit is contained in:
12
resources/scripts/editor.js
Normal file
12
resources/scripts/editor.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import '@wordpress/edit-post';
|
||||
import domReady from '@wordpress/dom-ready';
|
||||
import { unregisterBlockStyle, registerBlockStyle } from '@wordpress/blocks';
|
||||
|
||||
domReady(() => {
|
||||
unregisterBlockStyle('core/button', 'outline');
|
||||
|
||||
registerBlockStyle('core/button', {
|
||||
name: 'outline',
|
||||
label: 'Outline',
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user