Skip to content

行级代码和键盘元素为空格时应该保留 #5256

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
1 task done
UltramarineSky opened this issue Jun 20, 2022 · 1 comment
Closed
1 task done

行级代码和键盘元素为空格时应该保留 #5256

UltramarineSky opened this issue Jun 20, 2022 · 1 comment
Assignees
Milestone

Comments

@UltramarineSky
Copy link

该问题是否已经被报告过了? Is there an existing issue for this?

  • 我已经搜索了 Issues,没有发现类似问题
    I have searched the existing issues

描述问题 Describe the problem

行内代码内只含空格时,后面紧跟输入内容,空格行内代码会消失。只输入空格行内代码,不跟随输入内容短时间会存在,但一刷新页面空格行内代码就没了
2 0 22 空格行内代码

期待的结果 Expected result

可以输入空格行内代码

截屏或者录屏演示 Screenshot or screen recording presentation

No response

版本环境 Version environment

- Version: 2.0.22
- Operating System: win
- Browser (if used):

日志文件 Log file

N/A

更多信息 More information

No response

@88250 88250 self-assigned this Jun 20, 2022
@88250 88250 changed the title 空格行内代码bug 行内代码为空格 时应该保留 Jun 20, 2022
@88250 88250 changed the title 行内代码为空格 时应该保留 行内代码为空格 ` ` 时应该保留 Jun 20, 2022
@88250 88250 changed the title 行内代码为空格 ` ` 时应该保留 行内代码为空格 时应该保留 Jun 20, 2022
@88250 88250 added this to the 2.0.23 milestone Jun 20, 2022
@88250 88250 changed the title 行内代码为空格 时应该保留 行内代码为空格时应该保留 Jun 20, 2022
@88250
Copy link
Member

88250 commented Jun 20, 2022

之前做了大部分行级元素(比如下划线、下标、上标、加粗、斜体、删除线和代码等)内容为空白时的剔除。行级代码如果为空白(比如空格)时确实应该保留,这是有意义的。此外, 键盘元素也类似。

感谢反馈,我们下个版本改进一下看看。

@88250 88250 changed the title 行内代码为空格时应该保留 行级代码和键盘元素为空格时应该保留 Jun 20, 2022
88250 added a commit to 88250/lute that referenced this issue Jun 20, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@88250 88250 closed this as completed Jun 20, 2022
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