Skip to content

Commit

Permalink
Blocks: update CLI to only input strings in descriptions
Browse files Browse the repository at this point in the history
See #26792
  • Loading branch information
jeherve committed Apr 13, 2023
1 parent cf88dd7 commit 2277f45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 4 additions & 0 deletions projects/plugins/jetpack/changelog/update-block-skeleton
@@ -0,0 +1,4 @@
Significance: patch
Type: other

Blocks: update block cli structure to only use strings in descriptions
Expand Up @@ -15,12 +15,7 @@ export const name = '{{ slug }}';
export const title = __( '{{ title }}', 'jetpack' );
export const settings = {
title,
description: (
<Fragment>
<p>{ __( '{{ description }}', 'jetpack' ) }</p>
<ExternalLink href="#">{ __( 'Learn more about {{ title }}', 'jetpack' ) }</ExternalLink>
</Fragment>
),
description: __( '{{ description }}', 'jetpack' ),
icon: {
src: icon,
foreground: getIconColor(),
Expand Down

0 comments on commit 2277f45

Please sign in to comment.