diff --git a/.github/ISSUE_TEMPLATE/Bug_report.yml b/.github/ISSUE_TEMPLATE/Bug_report.yml
index ab001b41ff793..1109056e7e5d5 100644
--- a/.github/ISSUE_TEMPLATE/Bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/Bug_report.yml
@@ -1,5 +1,6 @@
name: Bug report
description: Report a bug with the WordPress block editor or Gutenberg plugin
+labels: ['[Type] Bug']
body:
- type: markdown
attributes:
diff --git a/.github/ISSUE_TEMPLATE/Feature_request.md b/.github/ISSUE_TEMPLATE/Feature_request.md
index cfae99f42ff9e..66bd0943c31b4 100644
--- a/.github/ISSUE_TEMPLATE/Feature_request.md
+++ b/.github/ISSUE_TEMPLATE/Feature_request.md
@@ -1,6 +1,7 @@
---
name: Feature request
about: Propose an idea for a feature or an enhancement
+labels: "[Type] Enhancement"
---
diff --git a/.github/ISSUE_TEMPLATE/New_release.md b/.github/ISSUE_TEMPLATE/New_release.md
index d6732a659731f..629a4dafa5ba5 100644
--- a/.github/ISSUE_TEMPLATE/New_release.md
+++ b/.github/ISSUE_TEMPLATE/New_release.md
@@ -1,6 +1,7 @@
---
name: Gutenberg Release
about: A checklist for the Gutenberg plugin release process
+labels: Gutenberg Plugin, [Type] Project Management
---
This issue is to provide visibility on the progress of the release process of Gutenberg VERSION_NUMBER and to centralize any conversations about it. The ultimate goal of this issue is to keep the reference of the steps, resources, work, and conversations about this release so it can be helpful for the next contributors releasing a new Gutenberg version.
diff --git a/docs/getting-started/devenv/get-started-with-create-block.md b/docs/getting-started/devenv/get-started-with-create-block.md
index 8b3a7b5867476..a01c08a4ce2f4 100644
--- a/docs/getting-started/devenv/get-started-with-create-block.md
+++ b/docs/getting-started/devenv/get-started-with-create-block.md
@@ -57,7 +57,7 @@ See the `wp-scripts` [package documentation](https://developer.wordpress.org/blo
### Interactive mode
-For developers who prefer a more guided experience, the `create-block package` provides an interactive mode. Instead of manually specifying all options upfront, like the `slug` in the above example, this mode will prompt you for inputs step-by-step.
+For developers who prefer a more guided experience, the `create-block` package provides an interactive mode. Instead of manually specifying all options upfront, like the `slug` in the above example, this mode will prompt you for inputs step-by-step.
To use this mode, run the command:
diff --git a/packages/block-editor/src/components/list-view/block.js b/packages/block-editor/src/components/list-view/block.js
index 375f39a7cc3c8..4957f79fa0d48 100644
--- a/packages/block-editor/src/components/list-view/block.js
+++ b/packages/block-editor/src/components/list-view/block.js
@@ -69,17 +69,17 @@ function ListViewBlock( {
const blockTitle =
blockInformation?.name || blockInformation?.title || __( 'Untitled' );
- const block = useSelect(
- ( select ) => select( blockEditorStore ).getBlock( clientId ),
- [ clientId ]
- );
- const blockName = useSelect(
- ( select ) => select( blockEditorStore ).getBlockName( clientId ),
- [ clientId ]
- );
- const blockEditingMode = useSelect(
- ( select ) =>
- select( blockEditorStore ).getBlockEditingMode( clientId ),
+ const { block, blockName, blockEditingMode } = useSelect(
+ ( select ) => {
+ const { getBlock, getBlockName, getBlockEditingMode } =
+ select( blockEditorStore );
+
+ return {
+ block: getBlock( clientId ),
+ blockName: getBlockName( clientId ),
+ blockEditingMode: getBlockEditingMode( clientId ),
+ };
+ },
[ clientId ]
);
diff --git a/packages/block-library/src/form/index.js b/packages/block-library/src/form/index.js
index a67fc67ca06f0..1e45c642b6d48 100644
--- a/packages/block-library/src/form/index.js
+++ b/packages/block-library/src/form/index.js
@@ -27,7 +27,7 @@ export const init = () => {
const DISALLOWED_PARENTS = [ 'core/form' ];
addFilter(
'blockEditor.__unstableCanInsertBlockType',
- 'removeTemplatePartsFromPostTemplates',
+ 'core/block-library/preventInsertingFormIntoAnotherForm',
(
canInsert,
blockType,
diff --git a/packages/block-library/src/image/editor.scss b/packages/block-library/src/image/editor.scss
index 934682ed91b7d..e172192836214 100644
--- a/packages/block-library/src/image/editor.scss
+++ b/packages/block-library/src/image/editor.scss
@@ -62,6 +62,13 @@ figure.wp-block-image:not(.wp-block) {
left: 50%;
transform: translate(-50%, -50%);
}
+
+ // When the Image block is linked,
+ // it's wrapped with a disabled tag.
+ // Restore cursor style so it doesn't appear 'clickable'.
+ > a {
+ cursor: default;
+ }
}
// This is necessary for the editor resize handles to accurately work on a non-floated, non-resized, small image.
diff --git a/packages/block-library/src/image/index.php b/packages/block-library/src/image/index.php
index c465677a986e0..acefd5714bbd4 100644
--- a/packages/block-library/src/image/index.php
+++ b/packages/block-library/src/image/index.php
@@ -242,10 +242,9 @@ class="lightbox-trigger"
data-wp-on--click="actions.core.image.showLightbox"
data-wp-style--right="context.core.image.imageButtonRight"
data-wp-style--top="context.core.image.imageButtonTop"
- style="background: #000"
>
-