|
|
@ -72,6 +72,18 @@ function add_blocks( $init_array ) { |
|
|
|
'classes' => [ 'block', 'block--alternate' ], |
|
|
|
'classes' => [ 'block', 'block--alternate' ], |
|
|
|
'wrapper' => true, |
|
|
|
'wrapper' => true, |
|
|
|
], |
|
|
|
], |
|
|
|
|
|
|
|
[ |
|
|
|
|
|
|
|
'title' => __( 'Bordered Block', 'pressbooks-aldine' ), |
|
|
|
|
|
|
|
'block' => 'div', |
|
|
|
|
|
|
|
'classes' => [ 'block', 'block--bordered' ], |
|
|
|
|
|
|
|
'wrapper' => true, |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
[ |
|
|
|
|
|
|
|
'title' => __( 'Borderless Block', 'pressbooks-aldine' ), |
|
|
|
|
|
|
|
'block' => 'div', |
|
|
|
|
|
|
|
'classes' => [ 'block', 'block--borderless' ], |
|
|
|
|
|
|
|
'wrapper' => true, |
|
|
|
|
|
|
|
], |
|
|
|
[ |
|
|
|
[ |
|
|
|
'title' => __( 'Link Button', 'pressbooks-aldine' ), |
|
|
|
'title' => __( 'Link Button', 'pressbooks-aldine' ), |
|
|
|
'selector' => 'a', |
|
|
|
'selector' => 'a', |
|
|
|