We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
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
A sql hierarchy bug.
通过在文档标题后面回车创建新段落,然后输入 Markdown 的标题语法创建一个标题,这个标题后面的段落的父级,不会更新成这个标题的。
可以看到,图中前两条数据的 parent_id 依旧是文档的 id。
这是文档里的结构。
具体操作步骤:
## 标题2
很好复现的一个问题。
并且修改了段落中内容,也只是将段落跟 标题2 重新关联了。标题2 跟 标题1 的层级关系依旧不对。
标题2
标题1
正确数据层级
No response
- Version: 2.11.1 - Operating System: MacOS - Browser (if used): -
siyuan.log
The text was updated successfully, but these errors were encountered:
🐛 The parent block field of the blocks under the heading block is cal…
1864d0e
…culated incorrectly #9869
a785cd1
88250
No branches or pull requests
A sql hierarchy bug.
Is there an existing issue for this?
Can the issue be reproduced with the default theme (daylight/midnight)?
Could the issue be due to extensions?
Describe the problem
通过在文档标题后面回车创建新段落,然后输入 Markdown 的标题语法创建一个标题,这个标题后面的段落的父级,不会更新成这个标题的。
可以看到,图中前两条数据的 parent_id 依旧是文档的 id。

这是文档里的结构。
具体操作步骤:
## 标题2
(可以是任何层级)很好复现的一个问题。
并且修改了段落中内容,也只是将段落跟
标题2
重新关联了。标题2
跟标题1
的层级关系依旧不对。Expected result
正确数据层级
Screenshot or screen recording presentation
No response
Version environment
Log file
siyuan.log
More information
No response
The text was updated successfully, but these errors were encountered: