Skip to content

browser becomes unresponsive when inserting post content block within a template  #23762

Description

@skorasaurus

Describe the bug
Very similar to what @carolinan and @johnstonphilip reported in #22080

My browser becomes unresponsive when I attempt to add a post content block;

in my case, it occurs even when I try to add it to a post type of template within the editor.

To reproduce
Steps to reproduce the behavior:

  1. create new site;
  2. build gutenberg from source
  3. enable plugin
  4. sitename.test/wp-admin/admin.php?page=gutenberg-experiments - enable full site editing
  5. create new template at http://sitename.test/wp-admin/post-new.php?post_type=wp_template
  6. open block directory, type in post content, click on its icon so it can be insert.

Expected behavior
the block would appear in the template even a square with a placeholder value so I know that the post content will appear when I use this template.

Screenshots
If applicable, add screenshots to help explain your problem.

Editor version (please complete the following information):

  • WordPress version: 5.4.2
  • Does the website has Gutenberg plugin installe - yes,
  • uses gutenberg that was built from master branch, earlier today (2020-07-07) its most recent commit was 5125676

Desktop (please complete the following information):

  • ubuntu 18.04
    chrome and firefox

Metadata

Metadata

Labels

[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions