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

导出 PDF data-theme-mode 需固定设置为 light #7379

Closed
Vanessa219 opened this issue Feb 16, 2023 · 0 comments
Closed

导出 PDF data-theme-mode 需固定设置为 light #7379

Vanessa219 opened this issue Feb 16, 2023 · 0 comments
Assignees
Milestone

Comments

@Vanessa219
Copy link
Member

          @Vanessa219 当用户使用深色主题导出 PDF 时, 虽然加载了浅色主题的样式文件, 但是的预览窗口的 `html` 标签的 `data-theme-mode` 属性依然设置为了 `dark`, 这会导致导出预览与实际导出内容均出现异常

因此导出 PDF 的预览窗口与实际导出时 html 标签的 data-theme-mode 属性应该强制设置为 light

Originally posted by @Zuoqiu-Yingyi in #7259 (comment)

@Vanessa219 Vanessa219 self-assigned this Feb 16, 2023
@Vanessa219 Vanessa219 added this to the 2.7.6 milestone Feb 16, 2023
Vanessa219 added a commit that referenced this issue Feb 16, 2023
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

1 participant