Skip to content

Commit

Permalink
Add transform and hidden scope to post-date
Browse files Browse the repository at this point in the history
  • Loading branch information
richtabor committed Oct 20, 2023
1 parent bf8a47f commit d790006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/post-date/variations.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const variations = [
title: __( 'Modified Date' ),
description: __( "Display a post's last updated date." ),
attributes: { displayType: 'modified' },
scope: [ 'block', 'inserter' ],
scope: [ 'block', 'inserter', 'transform', 'hidden' ],
isActive: ( blockAttributes ) =>
blockAttributes.displayType === 'modified',
icon: postDate,
Expand Down

0 comments on commit d790006

Please sign in to comment.