Closed
Description
该问题是否已经被报告过了? Is there an existing issue for this?
- 我已经搜索了 Issues,没有发现类似问题
I have searched the existing issues
该问题是否能够在默认主题(daylight/midnight)下重现? Can the issue be reproduced with the default theme (daylight/midnight)?
- 我能够在默认主题下重现该问题
I was able to reproduce the issue with the default theme
描述问题 Describe the problem
在使用行级备注的时候无意中发现的,在默认主题中也可以复现。
如下文的录像所示,复制一段包含引用块的文本到行级备注的编辑框中,关闭编辑框后,备注悬浮可以正常显示文本。
但是刷新后,备注文本中的引用块格式的文本被渲染成引用块,然后行级备注的标签内容被渲染出来,看着有点乱。
期待的结果 Expected result
备注文本中的引用块格式失效,解析后作为普通文本显示。
截屏或者录屏演示 Screenshot or screen recording presentation
default.mp4
版本环境 Version environment
- Version: 2.7.2
- Operating System: windows 10
- Browser (if used):
日志文件 Log file
none
更多信息 More information
No response
Metadata
Metadata
Assignees
Type
Projects
Relationships
Development
No branches or pull requests
Activity
[-]行级备注中包含引用块格式的文本时,渲染效果异常[/-][+]行级备注内容剔除富文本[/+]mozhux commentedon Feb 2, 2023
2天内我要拿到大佬的主题
[-]行级备注内容剔除富文本[/-][+]行级备注内容仅保留文本内容[/+]🎨 行级备注内容仅保留文本内容 siyuan-note/siyuan#7233
🎨 行级备注内容仅保留文本内容 Fix #7233
tcmtom commentedon Feb 2, 2023
借楼开个脑洞,行级备注里面可以支持双链吗😂 @88250
88250 commentedon Feb 2, 2023
肯定不能啊,这个 issue 就是消除非文本内容的。
BryceAndJuly commentedon Feb 2, 2023
@mozhux 这主题也没啥稀奇的,你要体验一下的话我发一份给你就行了。
mozhux commentedon Feb 3, 2023
@BryceAndJuly 可以的话发一份? wutingkun2012@hotmail.com ,我论坛里也问了哈哈。
BryceAndJuly commentedon Feb 3, 2023
@mozhux 那我直接在社区发给你吧,好像有个聊天的功能可以直接发文件。