Skip to content

Improve block ref dynamic anchor text to add inline level style #14299

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 7, 2025 · 1 comment
Closed

Improve block ref dynamic anchor text to add inline level style #14299

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

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Mar 7, 2025

改进块引用动态锚文本添加行级样式

01

块引用动态锚文本选中其中一部分添加行级样式,添加样式的部分和其余部分都需要转换为静态锚文本,否则修改引用块内容之后就会变成这样:

  • 添加样式的部分:是动态锚文本,但锚文本不更新
  • 其余部分:是动态锚文本,锚文本更新了,但更新是不符合预期的
video.webm

02

块引用动态锚文本选中全部添加行级样式,应该保持为动态锚文本。但目前有个问题:

有行级样式的块引用动态锚文本不会更新

video.webm
@TCOTC TCOTC changed the title 块引用动态锚文本添加行级样式,添加样式的部分和其余部分都需要转换为静态锚文本 改进块引用动态锚文本添加行级样式 Mar 7, 2025
Vanessa219 added a commit that referenced this issue Mar 8, 2025
Vanessa219 added a commit that referenced this issue Mar 8, 2025
@Vanessa219 Vanessa219 added this to the 3.1.25 milestone Mar 8, 2025
@88250 88250 changed the title 改进块引用动态锚文本添加行级样式 Improve block ref dynamic anchor text to add inline level style Mar 8, 2025
@TCOTC
Copy link
Contributor Author

TCOTC commented Mar 10, 2025

在动态锚文本的开头或末尾添加行级样式,锚文本会直接消失并且无法撤回:

video.webm

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

2 participants