Browse Source

Add more blocks.

pull/45/head
Ned Zimmerman 7 years ago
parent
commit
9b0c326370
No known key found for this signature in database
GPG Key ID: FF56334A013120CA
  1. 12
      inc/filters/namespace.php

12
inc/filters/namespace.php

@ -72,6 +72,18 @@ function add_blocks( $init_array ) {
'classes' => [ 'block', 'block--alternate' ],
'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' ),
'selector' => 'a',

Loading…
Cancel
Save