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

fix: fix #410 && 评论系统中添加每次换行默认换两行 #411

Merged
merged 4 commits into from
Jul 30, 2024

Conversation

sheben404
Copy link
Contributor

Description

fix:修复「评论时,中文输入法未选词时,按 command + enter,会发送评论。中文输入法会停留在选词框。」 (#410
feat:评论系统中添加每次换行默认换两行

Linked Issues

$ta.selectionEnd = shouldMoveToPos
$ta.focus()
// 上面设置的光标,可能不在可见区域内,因此 scroll 到光标所在位置
scrollTextareaToCursor(taRef)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sheben404 sheben404 requested a review from Innei July 30, 2024 11:16
@Innei Innei merged commit db4a859 into Innei:main Jul 30, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants