Skip to content

Applying styles to block refs causes them to disappear #14428

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
RehemChan opened this issue Mar 22, 2025 · 1 comment
Closed
3 tasks done

Applying styles to block refs causes them to disappear #14428

RehemChan opened this issue Mar 22, 2025 · 1 comment
Assignees
Labels
Milestone

Comments

@RehemChan
Copy link

RehemChan commented Mar 22, 2025

对块引用链接使用样式,链接会消失

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

对“块引用链接”使用“高亮”、“斜体”、“加粗”等样式均会导致其消失,撤回操作无法也使其复原,有时重启也无法使链接复原
而块markdown链接和网页链接能够正确应用样式

Expected result

块引用链接应该像其他链接一样能够正确应用样式

Screenshot or screen recording presentation

2025-03-22.19-25-16.mp4

Version environment

- Version: v3.1.25(微软商店版)
- Operating System: Windows 11 pro 24H2
- Browser (if used):

Log file

siyuan.log

More information

这个问题似乎只在某些特定情况才会出现,下面这个笔记库在我的设备上可以稳定复现

test.sy.zip

@TCOTC
Copy link
Contributor

TCOTC commented Mar 22, 2025

概括:全选块引用动态锚文本添加行级样式会意外移除块引用,并且无法撤回操作

@88250 88250 added the Bug label Mar 23, 2025
@88250 88250 added this to the 3.1.26 milestone Mar 23, 2025
@88250 88250 changed the title 对块引用链接使用样式,链接会消失 | applying styles to blockquote links causes them to disappear Applying styles to block refs causes them to disappear Mar 23, 2025
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
Labels
Projects
None yet
Development

No branches or pull requests

4 participants