Is there a way to link directly to the editing screen?

Is there a way to open a post in the edit mode via a link, instead of first opening the post and then clicking on “Edit” ?

3 likes

I don’t think there is (someone feel free to correct me). There’s Creating a link to start a new topic with pre-filled information of course, but it’s not quite the same.

I don’t think there is either, not out of box.

Out of curiosity, what do you see as use case for that?

3 likes

We create/edit a post (via API or manually) with links to specific posts, as part of a TODO list for a recurrent project. Said posts have content that needs to be updated often. It would save us time if the links took us straight to edit … and even nicer if the edit pane opened without navigating to the new url (because Discourse can do that, I love that feature).

I guess a plugin or probably just a component is needed, where a specific hash in the URL, say #edit is picked up by JS onload and trigger the edit pane … I’ll post it if I get to it. It’d be hacky, but portable enough I guess. Would have been nice to have native support for it. Maybe I’ll do a PR.

1 like