Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Can the issue be reproduced with the default theme (daylight/midnight)?
- I was able to reproduce the issue with the default theme
Could the issue be due to extensions?
- I've ruled out the possibility that the extension is causing the problem.
Describe the problem
- 如果使用快捷键"新建子文档名为"时,当前行是空段落,那么在创建完引用时会选中当前文档所有块
- 如果创建的子文档已经存在,那么会使用那个文档,而不是创建新的同名文档 ,即便是未命名文档 (Untitled),也会如此
建议: 如果同名子文档已经存在,则询问用户是使用已存在的,还是创建新的
两个子文档同名的场景举例:
一个文档有两个公式, 这两个公式各自都有一个对应的 "推导" 文档,
Expected result
`
Screenshot or screen recording presentation
No response
Version environment
`
Log file
`
More information
`
Metadata
Metadata
Assignees
Type
Projects
Relationships
Development
No branches or pull requests
Activity
88250 commentedon Apr 28, 2023
第一点问题稍后改进,第二点不考虑了,还是遵循优先沿用同名的规则。
[-]"新建子文档名为" 时的问题[/-][+]After using `The name of the new subdocument is` by `F3` in an empty block, it will no longer automatically select all[/+]iamqiz commentedon Apr 28, 2023
第二点 手动创建时,是可以创建多个同名文档的(包括自定义名字和未命名),如下图
那通过快捷键创建也不应该强制同名哇
88250 commentedon Apr 28, 2023
F3 的沿用同名比较方便,不然每次遇到要引用的子文档会新建不同的文档不符合设计。
iamqiz commentedon Apr 28, 2023
引用同名文档,首选应该用 [[ 符号哇,如果没有同名文档,它还会提示创建新文档,

但使用F3,如果想创建同名的新文档咋办?
最好的方法就是 灵活处理:
88250 commentedon Apr 28, 2023
我指的是选择文本以后按 F3 的情况沿用同名,这样方便标记。
iamqiz commentedon Apr 28, 2023
那不选中时, 出现同名, 是弹窗让用户选择,还是一律创建新的?
88250 commentedon Apr 28, 2023
建新的吧
iamqiz commentedon Apr 28, 2023
可以 不错
🎨 fix #8099
🎨 fix #8099