Make WordPress Core

Opened 13 years ago

Closed 9 years ago

Last modified 9 years ago

#18943 closed enhancement (invalid)

Scroll back to previous editor position after post save/update

Reported by: dgwyer's profile dgwyer Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.2.1
Component: Editor Keywords:
Focuses: Cc:


I work exclusively in html mode in the WordPress editor, but this probably applies to the visual mode too.

When editing long(ish) posts it is really frustrating that the cursor position defaults to the beginning of the post after saving/updating.

Constantly having to manually scroll back down to the previous cursor position after updating, soon gets really tedious.

Focus always seems to be returned to the post title text box after saving/updating a post. It would be more intuitive to return focus to the main editor instead and automatically jump to the previous cursor position.

Change History (6)

#1 @tar.gz
12 years ago

dgwyer, there is a plugin by ocean90 that fixes this behavior:

I also believe that this is basic good UI behavior, and it would make sense to integrate it into core.

I guess for most users this falls into a grey zone of inconvience where it's causing a tiny bit of frustration, but not enough for the user to think consciously about it or to take some action... I was somehow annoyed by this since years, but I never took the effort to look for a fix. I just happened to come across ocean90's contributor page one day :)

#2 @tar.gz
12 years ago

  • Cc code@… added

#3 @dgwyer
12 years ago

Thanks for the heads-up.

+1 for adding to core!

#4 @iseulde
9 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

I'm going to close this in favour of #7756, which would also keep the scroll position.

#6 @ocean90
9 years ago

#33508 was marked as a duplicate.

Note: See TracTickets for help on using tickets.