Skip to content

Improve embed block updating #14395

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
TCOTC opened this issue Mar 18, 2025 · 1 comment
Closed

Improve embed block updating #14395

TCOTC opened this issue Mar 18, 2025 · 1 comment
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Mar 18, 2025

改进嵌入块更新

会出现多次“不存在符合条件的内容块”

插入一个空嵌入块:

video.webm
@88250 88250 added this to the 3.1.26 milestone Mar 19, 2025
Vanessa219 added a commit that referenced this issue Mar 19, 2025
@88250 88250 changed the title 改进嵌入块更新 Improve embed block updating Mar 19, 2025
@TCOTC
Copy link
Contributor Author

TCOTC commented Mar 22, 2025

我这里发现还是有点奇怪的问题:

SQL 示例:

SELECT *
FROM blocks
WHERE content LIKE '%啊山东科技护发素肯定会风积沙到啦发哈算啦等哈拉倒六氟化硫四大行老师的了%'
AND type = 'p'

嵌入块更新之后显示了多余的结果,并且点击之后浮窗显示的块是不一样的:

video.webm

关掉文档重新打开就恢复正常了:

Image

Vanessa219 added a commit that referenced this issue Mar 23, 2025
EightDoor added a commit to EightDoor/siyuan that referenced this issue Mar 25, 2025
* commit '1317020c1791edf440da7f836d366567e03dd843': (65 commits)
  🔖 Release v3.1.26
  🎨 Add index `idx_attributes_block_id` https://ld246.com/article/1742827508465
  📝 Supports append text by shortcuts to the dailynote doc on Android siyuan-note#14414
  🎨 Support in-app purchase PRO Features and Subscription on iOS siyuan-note#14159
  📝 Supports append text by shortcuts to the dailynote doc on Android siyuan-note#14414
  🎨
  📝 Update changelogs
  🎨 siyuan-note#14372
  🎨 siyuan-note#14364
  🎨 siyuan-note#14405
  🐛 siyuan-note#14326
  🎨 siyuan-note#14326
  🎨 siyuan-note#14156
  ⬆️ Upgrade lute siyuan-note#14397
  ⬆️ Upgrade lute siyuan-note#14424
  🎨 siyuan-note#14395
  🎨 siyuan-note#14406
  🎨 siyuan-note#14428
  ⬆️ Upgrade lute siyuan-note#14424
  🎨 Support indented code block syntax when importing Markdown siyuan-note#14429
  ...
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