Skip to content

编辑文档标题时空格和置空问题 #5202

Closed
@mlzxy

Description

@mlzxy

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

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

描述问题 Describe the problem

我发现编辑标题时的两个小问题

  1. 当在标题中多次按 space 时,光标会回到行头
  2. Untitled 的标题在被编辑时,会附在新的标题后方

请见如下 GIF

问题-1:

1

问题-2:

2

期待的结果 Expected result

关于问题-1: 能够创建带有多个 space 的标题,无论在行中,还是行末,都可以在标题中添加 space

关于问题-2: 在编辑 Untitled 标题时,新标题用编辑内容替换,且不会把 “Untitled” 附在新标题后

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

No response

版本环境 Version environment

- Version: 2.0.20
- Operating System: osx bigsur 11.6.6
- Browser (if used):

日志文件 Log file

skip

更多信息 More information

No response

Activity

added this to the 2.0.21 milestone on Jun 16, 2022
added a commit that references this issue on Jun 16, 2022
changed the title [-]编辑标题遇到的小问题[/-] [+]编辑文档标题空格和置空问题[/+] on Jun 16, 2022
changed the title [-]编辑文档标题空格和置空问题[/-] [+]编辑文档标题时空格和置空问题[/+] on Jun 16, 2022
added a commit that references this issue on Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @Vanessa219@mlzxy

      Issue actions

        编辑文档标题时空格和置空问题 · Issue #5202 · siyuan-note/siyuan