Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

One of the major frustrations while editing posts/pages is that after saving, two things happen:

  • The admin page is reloaded, which takes time
  • More importantly, the cursor position is lost

If you're working on longer posts — especially when copy-editing, or if working in HTML mode and making small adjustments where frequent previews are needed — losing the current position, then finding the point where you left off is unnecessarily frustrating and time-consuming.

An elegant solution to this problem would be if the updates would be done over AJAX. Actually there used to be a plugin for this, but it hasn't been updated in over 5 years and it doesn't work with current WP versions anymore.

Is there an (easy) way to either:

  • Fix that plugin, or
  • Hack `post.php` to add a working "AJAX Save" button?

Interestingly, WordPress already has an AJAX update functionality which it uses when Auto-Saving. Perhaps that could be starting point?

I truly believe this is an important UX issue and would greatly appreciate your help. Thank you!

share|improve this question
    
Very good proposition but it risks to fall under the "not a real question" category. You'd better try to find what's not working in the plugin and search/ask for solutions here. Or make a pure Ajax Save button question. I'd also suggest that you joined wp-hackers list and shoot the UX issue there. –  brasofilo Nov 20 '12 at 0:20

1 Answer 1

The german (core) developer Dominik Schilling/ocean90 has released a pretty nice, simple and small plugin to encounter (part of) this problem. Instead of adding a complex AJAX save process, that would just make it harder to work with even handlers and such (de- & re-registering them), he just added a position marker, that allows WP to determine your current position after a save process and scroll back to it.

You can download the plugin over the official repo.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.