Skip to content
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

Focus block does not add the title when exporting as an image #10177

Closed
3 tasks done
Achuan-2 opened this issue Jan 14, 2024 · 2 comments
Closed
3 tasks done

Focus block does not add the title when exporting as an image #10177

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

Comments

@Achuan-2
Copy link
Member

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_13-45-47
导出图片后,发现上方margin过大
Snipaste_2024-01-14_13-46-37

Expected result

个人觉得要么这个位置展示标题,要么就margin调为正常导出的margin

Screenshot or screen recording presentation

No response

Version environment

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

Log file

none

More information

No response

@Vanessa219
Copy link
Member

我用这个导出是正常的,是不是文档有什么特殊的空行?
image

@Achuan-2
Copy link
Member Author

Achuan-2 commented Jan 14, 2024

@Vanessa219 V姐这个是聚焦到一个块导出吗?我导出是这样
image

从dom结构来说就是h1标题没有显示
Snipaste_2024-01-14_18-00-42

我发现是这个聚焦导出和导出添加文档标题不适配,显示不出标题,关闭这个选项
Snipaste_2024-01-14_18-01-42
导出就正常了
Snipaste_2024-01-14_18-03-14

@Vanessa219 Vanessa219 added this to the 2.12.3 milestone Jan 14, 2024
@Vanessa219 Vanessa219 changed the title 聚焦导出图片,上方margin过大 The title needs to be removed when the exported image is zoom in Jan 14, 2024
@88250 88250 changed the title The title needs to be removed when the exported image is zoom in Focus block does not add the title when exporting as an image Jan 15, 2024
@88250 88250 added Bug and removed Enhancement labels Jan 15, 2024
@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
Labels
Projects
None yet
Development

No branches or pull requests

3 participants