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

增强锚文本的键盘操作 #4979

Closed
3 tasks done
Vanessa219 opened this issue May 22, 2022 · 6 comments
Closed
3 tasks done

增强锚文本的键盘操作 #4979

Vanessa219 opened this issue May 22, 2022 · 6 comments
Assignees
Milestone

Comments

@Vanessa219
Copy link
Member

Vanessa219 commented May 22, 2022

  • 光标在锚文本内可使用 ctrl+/ 唤出菜单
  • 菜单出现时光标定位到输入框中
  • ESC/Enter 关闭菜单时,光标回到编辑器原有位置

https://ld246.com/article/1653184732199

@Vanessa219 Vanessa219 self-assigned this May 22, 2022
@Vanessa219 Vanessa219 added this to the 2.0.12 milestone May 22, 2022
@mindstudy
Copy link

"光标在锚文本内可使用 ctrl+/ 唤出菜单",这个操作:

a. 鼠标直接点击锚文字不行,会跳转到引用块。
b. 鼠标点击锚文字左侧或右侧,再按方向键才能进入,需要两步。
c. 特殊情况,如果锚文字只有一个字,这种情况就没法方向键进入锚文字内。

有没有可能实现:鼠标点击锚文字左侧或右侧,使用 ctrl+/ 唤出菜单?

@AugustTuan
Copy link

这个功能好,顶一下

@AugustTuan
Copy link

进入菜单时,光标可以选中文字吗
大部分情况下都可能会修改原文的

@AugustTuan
Copy link

"光标在锚文本内可使用 ctrl+/ 唤出菜单",这个操作:

a. 鼠标直接点击锚文字不行,会跳转到引用块。 b. 鼠标点击锚文字左侧或右侧,再按方向键才能进入,需要两步。 c. 特殊情况,如果锚文字只有一个字,这种情况就没法方向键进入锚文字内。

有没有可能实现:鼠标点击锚文字左侧或右侧,使用 ctrl+/ 唤出菜单?

我看原帖也是这么建议的,估计技术上不好实现吧

@Vanessa219
Copy link
Member Author

@mindstudy 在锚文本内有右侧都可以,左侧不支持

@qifengle1998 嗯,你说的应该就是第二点

@woaihuangxueying
Copy link

  • 光标在锚文本内可使用 ctrl+/ 唤出菜单
  • 菜单出现时光标定位到输入框中
  • ESC/Enter 关闭菜单时,光标回到编辑器原有位置

https://ld246.com/article/1653184732199

试了一下新版,Enter好像没有办法关闭菜单,只有Esc可以

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

4 participants