How to redirect to edit post?

NodeBB Plugins
  • Suppose that we are in another part of forum and I have this button. When I click on this button I would that it redirects me to page where I can modify post (it do this in my code):

    0_1473927635331_TOpic Editato.png

    But I want that when the button redirects me to "edit page" I see immediately the "edit form" with the value (something like this):
    0_1473927830395_EditTopic.png

    When I click on the button I use, to redirect at "edit page":

    window.location.href = config.relative_path + "/topic/" + topic_id + "/" + topic.title;
    

    Anyone can suggest how I can do this?

  • On the page ACP > Plugin > Composer (default) turn on the option "Use a separate route for the composer"


Suggested Topics