Skip to content

Block ref elements support font styles when exporting #10179

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
Achuan-2 opened this issue Jan 14, 2024 · 0 comments
Closed
3 tasks done

Block ref elements support font styles when exporting #10179

Achuan-2 opened this issue Jan 14, 2024 · 0 comments
Assignees
Milestone

Comments

@Achuan-2
Copy link
Member

Achuan-2 commented Jan 14, 2024

块引导出图片和pdf时,自定义颜色和背景色丢失

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

思源笔记里给块引添加自定义背景色和字体颜色
Snipaste_2024-01-14_20-07-09
导出pdf和图片发现自定义背景色和字体颜色会丢失
Snipaste_2024-01-14_20-08-34
image

Expected result

块引导出pdf和图片能保留自定义颜色,尽量保证思源笔记和导出的外观一致
只需要在导出的a标签添加style就可以了
Snipaste_2024-01-14_20-09-34

Screenshot or screen recording presentation

见上

Version environment

- Version: 2.12.2
- Operating System: Win11
- Browser (if used):

Log file

none

More information

No response

@Achuan-2 Achuan-2 changed the title 块引导出图片和pdff时,自定义颜色和背景色丢失 块引导出图片和pdf时,自定义颜色和背景色丢失 Jan 14, 2024
@Vanessa219 Vanessa219 added the Bug label Jan 14, 2024
@Vanessa219 Vanessa219 added this to the 2.12.3 milestone Jan 14, 2024
@88250 88250 added Enhancement and removed Bug labels Jan 15, 2024
@88250 88250 changed the title 块引导出图片和pdf时,自定义颜色和背景色丢失 Reference elements support font styles when exporting Jan 15, 2024
@88250 88250 changed the title Reference elements support font styles when exporting Block ref elements support font styles when exporting Jan 15, 2024
88250 added a commit that referenced this issue Jan 15, 2024

Verified

This commit was signed with the committer’s verified signature.
@88250 88250 closed this as completed Jan 15, 2024
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