Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widget: Unexpected copy of widget area block #45398

Open
t-hamano opened this issue Oct 29, 2022 · 0 comments
Open

Widget: Unexpected copy of widget area block #45398

t-hamano opened this issue Oct 29, 2022 · 0 comments
Labels
[Package] Edit Widgets /packages/edit-widgets [Type] Bug An existing feature does not function as intended

Comments

@t-hamano
Copy link
Contributor

t-hamano commented Oct 29, 2022

Description

In the Widget Block Editor, widget area blocks (core/widget-area)are also subject to block selection and can be copied.
However, widget area blocks are not allowed to be inserted into the block editor, so an error occurs when pasting the block.
Also, I think the copied block HTML seems to have no use.

Step-by-step reproduction instructions

  • Activate a classic theme.
  • Open the widget block editor.
  • Click on the title panel of the widget area and press Ctrl(Cmd) + C or Ctrl(Cmd) + X.
  • Confirm that the widget area block is copied.
  • Confirm that you get a message that the block is not supported when you paste in the post editor.

Screenshots, screen recording, code snippet

170079526-4061dc62-0d2d-4090-a941-7a1e87fad839.mp4

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@t-hamano t-hamano added the [Package] Edit Widgets /packages/edit-widgets label Oct 29, 2022
@kathrynwp kathrynwp added the [Type] Bug An existing feature does not function as intended label Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Edit Widgets /packages/edit-widgets [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants