Skip to content

Commit

Permalink
updated text and buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jan 21, 2025
1 parent 8061849 commit ae79319
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/welcome/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -997,11 +997,11 @@ const Blocks = props => {

<div className="s-blocks">
<h2>{ __( 'Blocks', i18n ) }</h2>
<p className="s-settings-subtitle">{ __( 'You can enable, hide and disable Stackable blocks. Hiding the blocks hides them from the editor. Disabling the blocks prevent them from being loaded for faster performance.', i18n ) }</p>
<p className="s-settings-subtitle">{ __( 'Here you can enable, hide and disable Stackable blocks. Hiding blocks will prevent new blocks from being added in the Block Editor. Disabling blocks will prevent them from being registered at all. When using block variations or design library patterns, disabled blocks will be substituted with the relevant core blocks.', i18n ) }</p>
<div className="s-settings-header">
<button onClick={ enableAllBlocks } className="button button-large button-link">{ __( 'Enable All', i18n ) }</button>
<button onClick={ hideAllBlocks } className="button button-large button-link">{ __( 'Hide All', i18n ) }</button>
<button onClick={ disableAllBlocks } className="button button-large button-link">{ __( 'Disable All', i18n ) }</button>
<Button variation="secondary" onClick={ enableAllBlocks }>{ __( 'Enable All', i18n ) }</Button>
<Button variation="secondary" onClick={ hideAllBlocks }>{ __( 'Hide All', i18n ) }</Button>
<Button variation="secondary" onClick={ disableAllBlocks }>{ __( 'Disable All', i18n ) }</Button>
</div>
{ BLOCK_CATEROGIES.map( ( {
id, label, Icon,
Expand Down

0 comments on commit ae79319

Please sign in to comment.