Skip to content

Improve inline formula input #11175

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

Closed
TCOTC opened this issue Apr 28, 2024 · 3 comments
Closed

Improve inline formula input #11175

TCOTC opened this issue Apr 28, 2024 · 3 comments
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Apr 28, 2024

改进在 $$ 之间输入与粘贴(行级公式)

一、在 $$ 之间输入行级公式时,会吞掉首个字符:

gongshi

二、在 $$ 之间粘贴行级公式时,页面会滚到开头(焦点移动到了第一个块):

gongshi2

在 $$ 之间输入公式会自动跳转到文章开头 - 链滴

@TCOTC TCOTC changed the title 在 \$\$ 之间输入行级公式时,会吞掉首个字符 在 $$ 之间输入行级公式时,会吞掉首个字符 Apr 28, 2024
@TCOTC TCOTC changed the title 在 $$ 之间输入行级公式时,会吞掉首个字符 改进在 $$ 之间输入行级公式 Apr 28, 2024
@TCOTC TCOTC changed the title 改进在 $$ 之间输入行级公式 改进在 $$ 之间输入与粘贴(行级公式) Apr 28, 2024
@88250 88250 added this to the 3.0.12 milestone Apr 28, 2024
@88250 88250 changed the title 改进在 $$ 之间输入与粘贴(行级公式) Improve inline formula input Apr 28, 2024
@Vanessa219
Copy link
Member

第一个问题是由于弹出公式时输入框是全选状态,再输入就会被替换。

Vanessa219 added a commit that referenced this issue Apr 28, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented Apr 28, 2024

第一个问题是由于弹出公式时输入框是全选状态,再输入就会被替换。

所以会特殊情况特殊处理吗?

@Vanessa219
Copy link
Member

这个代码上不好判断,特殊情况先缓缓。

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

3 participants