12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- wp.domReady( () => {
- wp.blocks.unregisterBlockStyle( 'core/button', 'default' );
- wp.blocks.unregisterBlockStyle( 'core/button', 'outline' );
- wp.blocks.unregisterBlockStyle( 'core/button', 'squared' );
- wp.blocks.unregisterBlockStyle( 'core/button', 'outline');
- wp.blocks.unregisterBlockStyle( 'core/button', 'fill');
- wp.blocks.registerBlockStyle( 'core/button', {
- name: 'bootstrap-primary',
- label: 'Primary',
- });
- wp.blocks.registerBlockStyle( 'core/button', {
- name: 'bootstrap-secondary',
- label: 'Secondary',
- });
- wp.blocks.registerBlockStyle( 'core/button', {
- name: 'bootstrap-success',
- label: 'Success',
- });
- wp.blocks.registerBlockStyle( 'core/button', {
- name: 'bootstrap-outline-primary',
- label: 'Primary Outline',
- });
- wp.blocks.registerBlockStyle( 'core/button', {
- name: 'bootstrap-outline-secondary',
- label: 'Secondary Outline',
- });
- wp.blocks.registerBlockStyle( 'core/button', {
- name: 'bootstrap-outline-success',
- label: 'Success Outline',
- });
- wp.blocks.registerBlockStyle( 'core/button', {
- name: 'bootstrap-primary-lg',
- label: 'Primary Large',
- });
- wp.blocks.registerBlockStyle( 'core/button', {
- name: 'bootstrap-secondary-lg',
- label: 'Secondary Large',
- });
- wp.blocks.registerBlockStyle( 'core/button', {
- name: 'bootstrap-success-lg',
- label: 'Success Large',
- });
- wp.blocks.registerBlockStyle( 'core/button', {
- name: 'bootstrap-outline-primary-lg',
- label: 'Primary Outline Large',
- });
- wp.blocks.registerBlockStyle( 'core/button', {
- name: 'bootstrap-outline-secondary-lg',
- label: 'Secondary Outline Large',
- });
- wp.blocks.registerBlockStyle( 'core/button', {
- name: 'bootstrap-outline-success-lg',
- label: 'Success Outline Large',
- });
- });
|