Edit Articles from Frontend Site

I’m looking for a way to be able to easily switchover to the administrative interface to edit an article while viewing it from the main site/frontend. For example, if I’m on https://docs.company.tld/documentation/article – I’d like to be able to get to the https://app.developerhub.io/project/… link in order to modify the article easily, without opening the link in another tab manually.

Of course, this should only be displayed for logged-in users – if feasible.

Here’s an example of how this is implemented with something like Zendesk Guide.

1 Like

Hey Matthew.

This is a great addition, and I’m surprised that you’re the first one to ask for it after 3 years of operation.

The problem at this point is that we don’t really serve ANY cookies on your documentation site. If we are to let your documentation site know that you are an admin, and can edit this page, then we would have to create a cookie on your documentation site.

This cookie would only be generated on sites that you own for your users (so your readers would not have it).

I’ll get this tasked, and I will let you know here when this is possible.

2 Likes

We added a simple keyboard shortcut that takes you to the page in the editor, rather than having to save cookies on your documentation site.

Mac: ⌥ + ⇧ + D
Win: Alt + ⇧ + D

https://docs.developerhub.io/support-center/keyboard-shortcuts

Actually, if you click now on “Go To” on from the left sidebar to open Project, Version, Documentation, API Reference or Page, you’ll see an Edit button in the bottom right corner as well.

1 Like

@zed The keyboard shortcut ⌥ + ⇧ + D isn’t working for me on MacOS Big Sur 11.2.3, Chrome 90.0.4430.85, but, I do see the “Edit” button at the bottom right when browsing to the front-end site (after having logged in previously) – and, that works! The keyboard shortcut may be a local issue.

Thanks for implementing this.

Bizarre. I did test it on two Macs over here. Let me know if this happens on other devices around you and we’ll get it checked out.

You’re welcome!