Skip to content

嵌入块更新时渲染效果不一致 #5524

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
mdzz2048 opened this issue Jul 27, 2022 · 0 comments
Closed
1 task done

嵌入块更新时渲染效果不一致 #5524

mdzz2048 opened this issue Jul 27, 2022 · 0 comments
Assignees
Labels
Milestone

Comments

@mdzz2048
Copy link
Contributor

mdzz2048 commented Jul 27, 2022

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

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

描述问题 Describe the problem

#4958 中新增“更新嵌入块内容不重新渲染嵌入块”功能,对该功能的判定标准不是很理解。
实测效果如下:

  1. 列表块,换行、删除都操作都会在嵌入块实时刷新
  2. 标题块,换行不会实时刷新,删除子块会实时刷新
  3. 段落块,换行不会实时刷新,删除子块会实时刷新

若列表块为通过 random() 随机显示出的结果,修改后会重新渲染,和 #4958 中期待效果不一致。

期待的结果 Expected result

  1. 列表块渲染效果应该与标题块、段落块效果一致,或都不能实时刷新。
  2. 当修改 SQL 随机刷出的内容时,修改列表块不会导致重新渲染。

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

增加内容
增加内容
随机SQL

版本环境 Version environment

- Version: 2.13
- Operating System: Windows 10

日志文件 Log file

siyuan.log

更多信息 More information

No response

Vanessa219 added a commit that referenced this issue Jul 30, 2022
@Vanessa219 Vanessa219 added the Bug label Jul 30, 2022
@Vanessa219 Vanessa219 added this to the 2.1.5 milestone Jul 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants