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 .
您是否注意到在WordPress中编辑帖子时,如果单击“保存草稿”,则会重新加载页面。 这也意味着您的滚动位置已重置,现在您必须一直向下滚动。 到目前为止,这是我们在撰写长文章时注意到的最烦人的事情之一。 因为我们是使用HTML编辑器编写的,所以有时我们会点击“保存草稿”按钮来实时预览帖子。 这将重置滚动位置,我们发现自己一直向下滚动到底部。 在本文中,我们将与您分享一个插件,该插件可用于在WordPress中保留编辑器滚动位置。
影片教学 (Video Tutorial)
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.
没有您需要配置的设置。 开箱即用。 最棒的是,这是对前端加载时间没有影响的那些插件之一。 绝对喜欢这样的插件。 这只是我们在WordPress安装中使用的许多插件之一,可以使事情保持尽可能的流畅。
翻译自: https://www.wpbeginner.com/plugins/how-to-preserve-the-editor-scroll-position-in-wordpress/
wordpress编辑器