Skip to content

Data should also be saved when the formula and chart edit boxes are not closed normally #9515

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
3 tasks done
GaN8373 opened this issue Oct 26, 2023 · 4 comments
Closed
3 tasks done
Assignees
Milestone

Comments

@GaN8373
Copy link

GaN8373 commented Oct 26, 2023

Mermaid创建sequenceDiagram的流程图经常出现保存失败

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

使用Mermaid创建sequenceDiagram的流程图经常出现保存失败的情况, 以为保存了, 然后关闭标签后又打开发现数据没了

Expected result

正确保存数据

Screenshot or screen recording presentation

No response

Version environment

- Version: 2.10.12
- Operating System: win11
- Browser (if used):

Log file

siyuan.log

More information

No response

@88250
Copy link
Member

88250 commented Oct 26, 2023

从日志中暂未发现相关问题,如果有确定重现步骤的话麻烦录屏演示,谢谢。

@GaN8373
Copy link
Author

GaN8373 commented Oct 26, 2023

Test.-.MD.-.v2.10.12.2023-10-26.21-06-13.mp4

从日志中暂未发现相关问题,如果有确定重现步骤的话麻烦录屏演示,谢谢。

这样可以吗

@88250
Copy link
Member

88250 commented Oct 26, 2023

我明白了,目前那个 Mermaid 编辑框如果不点 X 关闭的话是不会保存的,这个我们看下能否改进,感谢反馈。

@Vanessa219

@GaN8373
Copy link
Author

GaN8373 commented Oct 26, 2023

确定了, 是编辑框没有关闭, 我直接关闭当前文档数据就会丢失,可以稳定复现.
希望能修复一下, 如果我编辑好了, 不关闭编辑框切换到别的文档, 这时候我关闭程序或者关闭刚刚编辑sequenceDiagram的文档都会导致数据丢失

@88250 88250 changed the title Mermaid创建sequenceDiagram的流程图经常出现保存失败 Data should also be saved when the formula and chart edit boxes are not closed normally Oct 26, 2023
@88250 88250 added this to the backlog milestone Oct 26, 2023
Vanessa219 added a commit that referenced this issue Oct 29, 2023
@Vanessa219 Vanessa219 modified the milestones: backlog, 2.10.13 Oct 29, 2023
appdev pushed a commit to appdev/siyuan-unlock that referenced this issue Oct 31, 2023
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

3 participants