WordPress.org

Ready to get started?Download WordPress

Forums

Make the theme editor input boxes reload to the same place after updating (5 posts)

  1. chrisjb
    Member
    Posted 7 years ago #

    On the 'write post' page there is an option to 'save and continue editing'.

    I think this would be an exellent feature to add to the theme editor pages, next to the 'update' button.

    It should work like this:

    When you click, 'update and continue editing' the page would reload (or maybe not), the live site would update but then...

    ....

    ...you can continue editing in the same place you were previously editing, without having to scroll down your style sheet (or page or include) to find where you were editing because the page would automatically scroll to your previous location (if the page reloaded).

  2. Jeremy Clark
    Moderator
    Posted 7 years ago #

    I agree.

  3. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    Err... The theme editor pages already work like this. Hitting update saves the page and then goes right back to the editor, with the same page loaded into the text box.

    Admittedly, it doesn't scroll down for you to where you were, but that's because it can't. Browsers don't work that way.

  4. Jeremy Clark
    Moderator
    Posted 7 years ago #

    I didn't know if there was some ajax-y way to make the text box work that way or not.

  5. chrisjb
    Member
    Posted 7 years ago #

    I'm sure there's a way.

Topic Closed

This topic has been closed to new replies.

About this Topic