Skip to content

Commit

Permalink
Add anchor support to deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyfelt committed Nov 6, 2024
1 parent 0988858 commit 7871fb7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/show-hide-section/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => '11fe62fbfeb17f1144ce');
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => 'beb08742a35f54543878');
2 changes: 1 addition & 1 deletion build/show-hide-section/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/show-hide-section/deprecated.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const v2 = {
},
supports: {
html: true,
anchor: true,
},
isEligible({ summary }) {
return typeof summary === 'string' && summary.length > 0;
Expand Down

0 comments on commit 7871fb7

Please sign in to comment.