Skip to content

Commit 92e196e

Browse files
vk17-starlordobenlandpfefferle
authored
Implements Heading Customization for the Reactions Block (#1657)
Co-authored-by: Konstantin Obenland <[email protected]> Co-authored-by: Matthias Pfefferle <[email protected]>
1 parent 42c2d21 commit 92e196e

File tree

19 files changed

+258
-152
lines changed

19 files changed

+258
-152
lines changed

.github/changelog/pr-1657

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: minor
2+
Type: changed
3+
4+
Reactions block heading now uses Core's heading block with all its customization options.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react', 'wp-components', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-url'), 'version' => '0e62f4c0e900c6ca22c4');
1+
<?php return array('dependencies' => array('react', 'wp-components', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-url'), 'version' => '4cdf9a85d9cbbc6918ed');

build/editor-plugin/plugin.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/reactions/block.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,7 @@
1818
}
1919
}
2020
},
21-
"attributes": {
22-
"title": {
23-
"type": "string",
24-
"default": "Fediverse reactions"
25-
}
26-
},
21+
"attributes": {},
2722
"blockHooks": {
2823
"core/post-content": "after"
2924
},

build/reactions/index.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => '32631215c76c36b38e5e');
1+
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => '5dc49427a4f9aeaf63b5');

0 commit comments

Comments
 (0)