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

Post Excerpt Block: Remove ability to load a post within the template editor to prevent inception/crashing #33309

Closed
annezazu opened this issue Jul 8, 2021 · 0 comments · Fixed by #33366
Assignees
Labels
[Block] Post Excerpt Affects the Post Excerpt Block [Block] Query Loop Affects the Query Loop Block [Priority] High Used to indicate top priority items that need quick attention [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@annezazu
Copy link
Contributor

annezazu commented Jul 8, 2021

Description

If you click "continue reading" in the Post Excerpt Block within the Query Loop block, the post itself is loaded in the editor. This eventually causes the editor to crash. This issue is similar to this previously reported bug: #30647 and might be related to this: #33269

Step-by-step reproduction instructions

  1. Enable template editing mode in the twenty twenty-one theme.
  2. Add new page.
  3. Create a new template from the sidebar and give it a name.
  4. Add the Query Loop block and select whatever configuration you desire.
  5. Add the Post Excerpt block into the loop.
  6. Click on "Continue reading" and find it opens up the post within the template editor.

Expected behaviour

Unable to click on the post link and have it load.

Actual behaviour

Able to click on the read more and see the site load within the editor.

Screenshots or screen recording (optional)

During this recording, the editor didn't crash but for most of the tests it does after the post is loaded and I try to click edit:

inception.mov

WordPress information

  • WordPress version: 5.8RC2
  • Gutenberg version: 11.0
  • Are all plugins except Gutenberg deactivated? No, WP Beta Tester plugin.
  • Are you using a default theme (e.g. Twenty Twenty-One)? Yes.

Device information

  • Device: Desktop
  • Operating system: MacOS
  • Browser: Chrome Version 89.0.4389.128 (Official Build) (x86_64)
@annezazu annezazu added [Type] Bug An existing feature does not function as intended [Priority] High Used to indicate top priority items that need quick attention [Block] Post Excerpt Affects the Post Excerpt Block [Block] Query Loop Affects the Query Loop Block labels Jul 8, 2021
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Post Excerpt Affects the Post Excerpt Block [Block] Query Loop Affects the Query Loop Block [Priority] High Used to indicate top priority items that need quick attention [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
2 participants