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

Add command to view the document outline #53191

Open
richtabor opened this issue Jul 31, 2023 · 4 comments
Open

Add command to view the document outline #53191

richtabor opened this issue Jul 31, 2023 · 4 comments
Labels
[Package] Commands /packages/commands [Type] Comand Palette [Type] Enhancement A suggestion for improvement.

Comments

@richtabor
Copy link
Member

richtabor commented Jul 31, 2023

Add a command that renders with the document outline information in the command itself. If selected, the command should open the Outline tab within List view. In this particular example, searching for outline would not return the command (though words, characters, time would) — we need support for keywords.

Visuals

outline outline-view
@abhi3315
Copy link
Contributor

abhi3315 commented Aug 9, 2023

Hello @richtabor,

I'm currently unable to locate the "Outline" tab within the List view. Is this feature still pending implementation?

@richtabor
Copy link
Member Author

Hm, you should see it if you open up the List view - running WP 6.3 or Gutenberg.

CleanShot 2023-08-09 at 08 03 52

@abhi3315
Copy link
Contributor

Thanks @richtabor I am able to find it in the post editor. But I'm unable to find it in the site editor.

@draganescu
Copy link
Contributor

draganescu commented Aug 31, 2023

@abhi3315 The post editor has an outline because the data in it is about the single post being edited, while in the site editor multiple elements are edited at once (multiple template parts, patterns, one template, one post etc) so the outline makes little sense in the site editor.

@richtabor on that logic the outline should show up when the user edits a page in the site editor :) right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Commands /packages/commands [Type] Comand Palette [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants