-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Site Editor - Fix NavigateToLink component #27165
Comments
@Addison-Stavlo Hi there! Are you still able to replicate this with the latest version of WordPress? If so, would you be able to clarify the steps to replicate in a little more detail? Thanks! |
Oh wow, this is an old one! IF I am remembering the context correctly: This This is a couple years old at this point and it seems this functionality has been broken for a while. This component is still filled into the site editor but that "Edit Page Template" option on a link never shows up. So IIRC you would repro by:
|
@Addison-Stavlo Ah, thanks for those steps. I just tested and see what you mean, and there is no "edit page template" option showing. @talldan Would you happen know if this is a feature that's actually meant to be working, since as Addison points out, it's still referenced in the code? Thanks! |
The component is no longer used in the core after #47454. @draganescu, @getdave, should we remove it? |
I don't see a reason why we need it. We can deprecate it. |
@getdave, it's not a public component, so we can just remove it. I'll create a PR. Thanks for the confirmation. |
The
NavigateToLink
component enhances the link-control to allow a user to navigate to that links context within the site editor when applicable. This component seems to have broken at some point in time, as it doesn't seem possible to get it to appear in the link-control (it only appears if it can resolve a context to navigate to).NavigateToLink
component (edit icon) in the popover.Upon quick inspection, it seems the props this component is dependent (
type
andid
) on are coming in asundefined
.The text was updated successfully, but these errors were encountered: