wordpress编辑器_如何在WordPress中保留编辑器滚动位置

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的插件。

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编辑器

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值