Skip to content

行级备注内容仅保留文本内容 #7233

Closed
@BryceAndJuly

Description

@BryceAndJuly

该问题是否已经被报告过了? 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

Activity

changed the title [-]行级备注中包含引用块格式的文本时,渲染效果异常[/-] [+]行级备注内容剔除富文本[/+] on Feb 2, 2023
added this to the 2.7.3 milestone on Feb 2, 2023
mozhux

mozhux commented on Feb 2, 2023

@mozhux

2天内我要拿到大佬的主题

changed the title [-]行级备注内容剔除富文本[/-] [+]行级备注内容仅保留文本内容[/+] on Feb 2, 2023
tcmtom

tcmtom commented on Feb 2, 2023

@tcmtom

借楼开个脑洞,行级备注里面可以支持双链吗😂 @88250

88250

88250 commented on Feb 2, 2023

@88250
Member

肯定不能啊,这个 issue 就是消除非文本内容的。

BryceAndJuly

BryceAndJuly commented on Feb 2, 2023

@BryceAndJuly
Author

@mozhux 这主题也没啥稀奇的,你要体验一下的话我发一份给你就行了。

mozhux

mozhux commented on Feb 3, 2023

@mozhux

@mozhux 这主题也没啥稀奇的,你要体验一下的话我发一份给你就行了。

@BryceAndJuly 可以的话发一份? wutingkun2012@hotmail.com ,我论坛里也问了哈哈。

BryceAndJuly

BryceAndJuly commented on Feb 3, 2023

@BryceAndJuly
Author

@mozhux 那我直接在社区发给你吧,好像有个聊天的功能可以直接发文件。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Vanessa219@mozhux@BryceAndJuly@tcmtom

      Issue actions

        行级备注内容仅保留文本内容 · Issue #7233 · siyuan-note/siyuan