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 edit button inside of nav menu items for posts/pages #147

westonruter opened this issue May 25, 2016 · 1 comment


None yet
1 participant
Copy link

commented May 25, 2016

When a nav menu item is added for a post/page, there should be a button that allows you to edit the item in the Customizer.

This will depend on:

  • Implement logic to fetch the post and postmeta settings for a given post ID to add a section without having to do a preview load. The pattern here has already been established in the new insertAutoDraftPost function which makes an Ajax request that returns a response containing all of the post/postmeta settings that would be needed for the new post section. (via #146 (comment))
  • Listening for insertions of MenuItemControl instances and modifying the control to add the button when embedded.
  • Potentially implement the breadcrumb functionality that was done for adding an Edit Menu button to the Custom Menu widget. See #32683.

This comment has been minimized.

Copy link
Contributor Author

commented Aug 30, 2016

Closely related to #156.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.