Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

历史记录添加时间间隔配置 #837

Closed
ihewro opened this issue Dec 5, 2020 · 1 comment
Closed

历史记录添加时间间隔配置 #837

ihewro opened this issue Dec 5, 2020 · 1 comment
Assignees
Milestone

Comments

@ihewro
Copy link

ihewro commented Dec 5, 2020

编辑模式

all

  • wysiwyg 所见即所得模式
  • ir 即时渲染模式
  • sv 分屏编辑预览模式

描述问题

比如,输入

这是一段文字,我要撤销了

这个时候cmd+z 撤销,会撤销整段文字,

如果在GitHub编辑框里面输入,是一个字或者两个字一起的撤销了。

期待的结果

希望撤销的过程能够更短一点,和一般的编辑器效果一致

@Vanessa219
Copy link
Owner

考虑性能问题,目前是按键间隔 800 毫秒进行一次记录。我把这个弄成配置项,这样就可以根据各自情况进行配置了。

@Vanessa219 Vanessa219 changed the title 希望撤销功能能够更好用 历史记录添加时间间隔配置 Dec 6, 2020
@Vanessa219 Vanessa219 self-assigned this Dec 6, 2020
@Vanessa219 Vanessa219 added this to the 3.7 milestone Dec 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants