Skip to content

代码块后用中文输入法格式会乱 #3885

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
heheda123123 opened this issue Jan 21, 2022 · 7 comments
Closed

代码块后用中文输入法格式会乱 #3885

heheda123123 opened this issue Jan 21, 2022 · 7 comments
Assignees
Labels
Milestone

Comments

@heheda123123
Copy link

1642758315000.mp4

这太影响体验了,日常用得最多的就是代码块

@88250

This comment has been minimized.

@88250 88250 closed this as completed Jan 21, 2022
@88250 88250 added the Bug label Jan 22, 2022
@88250 88250 reopened this Jan 22, 2022
@88250 88250 added this to the 1.7.7 milestone Jan 22, 2022
@88250
Copy link
Member

88250 commented Jan 22, 2022

试下其他输入法,我这里在 Win11 的微软拼音下重现不了问题。

@88250 88250 removed this from the 1.7.7 milestone Jan 22, 2022
@88250 88250 removed the Bug label Jan 22, 2022
@zhuzixian
Copy link

试下其他输入法,我这里在 Win11 的微软拼音下重现不了问题。

Win10的微软输入法下100%重现,重现的条件和步骤如下:

  1. 插入代码块,代码块里有内容(代码块为空的情况下不会出现)
  2. 在代码下后面的块的开头使用中文输入法
  3. 光标跳回至代码块

动画

@JokeenZhang
Copy link

我这里也会出现一样的情况,如果撤销莫名输入到代码块的字符时,会崩溃,在崩溃前会看到连代码块都会消失,明明我撤销的只是错误位置的字符。。。
这里是最新版,mac 11.6,使用搜狗输入法,苹果自带中文输入法也会这样,英文输入法正常

@JokeenZhang
Copy link

image

如图所示,本来「循环链表」那里是个二级标题,上方有一行空行,在那里输入箭头,然后这个箭头会跳到更上面的代码块,空行也会被「循环链表」这个二级标题块覆盖,但是还能看到有普通文本块光标闪烁,很神奇的现象。

@88250 88250 added the Bug label Jan 22, 2022
@88250 88250 added this to the 1.7.7 milestone Jan 22, 2022
@gslnzfq
Copy link

gslnzfq commented Jan 22, 2022

macOS 1.7.6 也发现了代码块相关的问题,但是会出现创建索引的错误提示,反复操作必现,详细看下视频文件,输入法是mac自带输入法
系统版本:macOS 12.1
思源版本:1.7.6

详细操作步骤:

  1. 在代码块下面输入文本、修改为标题
  2. 修改文本的内容,内容会跑到代码块中
  3. 使用ctrl+z还原,系统就会提示重建索引,必现

备注:我使用过OneDrive同步,但是关闭同步仍然会出现错误

2022-01-22.10.16.50.mp4

@88250
Copy link
Member

88250 commented Jan 22, 2022

@gslnzfq 下个版本修复,发布后请帮忙留意回测,谢谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants