Beginner's Guide for WordPress / Start your WordPress Blog in minutes

How to Preserve the Editor Scroll Position in WordPress

Have you noticed that when editing a post in WordPress if you hit “Save Draft”, then it reloads the page. Which also means that your scroll position is resetted and now you have to scroll all the way down. This is by far one of the most annoying things that we notice when writing long posts. Because we write in the HTML editor, sometimes we hit the save draft button to preview the post live. That resets the scroll position, and we find ourselves scrolling all the way down to the bottom. In this article, we will share with you a plugin that we use to preserve the editor scroll position in WordPress .

Video Tutorial

Subscribe to WPBeginner

If you don’t like the video or need more instructions, then continue reading.

All you have to do is install and activate the plugin called Preserve Editor Scroll Position.

Preserve Editor Scroll Position

There is no settings that you need to configure. It works out of the box. Best of all, this is one of those plugins that have no impact on your front-end load time. Absolutely love plugins likes this. This is just one of the many plugins we use in our WordPress install to keep things as smooth as possible.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit – a collection of WordPress related products and resources that every professional should have!

Reader Interactions

3 CommentsLeave a Reply

  1. Thanks guys.
    Can be oh so annoying trying to find your location after reload.
    Good to know that it has no effect on load time.

    Can this be hard coded?

  2. totally worth it…i have experienced similar problems when making a post and previewing it..installing it right away!

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.