Skip to content

Commit

Permalink
#110 - Change innerblock attributes to placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
khleomix committed Jun 30, 2021
1 parent 4c7691f commit e17d532
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions src/blocks/carousel-slide/utils/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,33 @@ export const INNER_BLOCKS_PROPS = applyFilters(
[
'core/heading',
{
content: __( 'Slide Title', 'wdsblocks' ),
placeholder: __( 'Slide Title', 'wdsblocks' ),
level: 4,
align: 'center',
className: 'has-text-align-center',
},
],
[
'core/paragraph',
{
content: __( 'Slide Content', 'wdsblocks' ),
placeholder: __( 'Slide Content', 'wdsblocks' ),
align: 'center',
},
],
[
'core/buttons',
{ align: 'center' },
[ [ 'core/button', { text: __( 'Read More', 'wdsblocks' ) } ] ],
{
align: 'center',
className: 'is-content-justification-center',
},
[
[
'core/button',
{
placeholder: __( 'Add Button label', 'wdsblocks' ),
url: '#',
},
],
],
],
],
}
Expand Down

0 comments on commit e17d532

Please sign in to comment.