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

The Document outline doesn't account for headings within Patterns #51909

Closed
afercia opened this issue Jun 26, 2023 · 2 comments
Closed

The Document outline doesn't account for headings within Patterns #51909

afercia opened this issue Jun 26, 2023 · 2 comments
Labels
[Feature] Document Outline An option that outlines content based on a title and headings used in the post/page [Package] Editor /packages/editor [Type] Bug An existing feature does not function as intended

Comments

@afercia
Copy link
Contributor

afercia commented Jun 26, 2023

Description

The Document outline doesn't show headings that are within Patterns.

Step-by-step reproduction instructions

  • Create a post with some paragraphs and headings.
  • Add a synced pattern that is made by a group that contains a heading and a paragraph.
  • In the editor top bar: click Document Overview > Outline
  • Observe the Document Outline doesn't show the heading contained within the Pattern.

Screenshots, screen recording, code snippet

Screenshot 2023-06-26 at 15 00 49

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

@afercia afercia added [Type] Bug An existing feature does not function as intended [Feature] Document Outline An option that outlines content based on a title and headings used in the post/page [Package] Editor /packages/editor labels Jun 26, 2023
@afercia afercia self-assigned this Jun 27, 2023
@afercia afercia removed their assignment Jul 25, 2023
@Mamaduka
Copy link
Member

Mamaduka commented Feb 19, 2024

Probably a duplicate of #33079. Btw, I can't reproduce the issue on trunk, but I remember missing heading from Synced Patterns in previous versions.

@afercia
Copy link
Contributor Author

afercia commented Feb 20, 2024

Thanks @Mamaduka, I'll close in favor of #33079 which has some more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Document Outline An option that outlines content based on a title and headings used in the post/page [Package] Editor /packages/editor [Type] Bug An existing feature does not function as intended
Projects
Status: Done
Development

No branches or pull requests

2 participants