question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PDF export should not export the tab bar

See original GitHub issue

Description

PDF export currently exports the tab bar. It should not.

Steps to reproduce

  1. write stuff
  2. make sure tab bar is visible
  3. export to PDF

Expected behavior: [What you expected to happen] PDF output should be a clean page without any UI elements.

Versions

  • Mark Text: 0.12.20
  • OS: macOS

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
1dancookcommented, Jun 19, 2018

@jkrzefski that solution will probably result in some unwanted behavior as we have now. Whatever is being used now to render a PDF is basically doing a one page screenshot. When you have multiple pages etc. it won’t work. As @fxha has suggested a proper conversion library should be used instead.

Have a separate theme/style sheet applied (rather than what is used for the UI) is absolutely ideal as you have suggested @jkrzefski.

Lots of issues can be solved with the proper library. Look at you #355 #354 #349 #360 👀

1reaction
jkrzefskicommented, Jun 18, 2018

I assume the current view (including theme, sidebar, tabs, etc.) is just rendered by a pdf tool. If that is true, I think a solution would be to make a dedicated view for exports only with no ui-elements and a standardized theme setting and let that be rendered by the pdf tool.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exclude Toolbar and Pager from Grid PDF Export
When I export a Kendo UI Grid to PDF, the custom toolbar and pager are included. How can I prevent the custom toolbar...
Read more >
Using Adobe Acrobat Export PDF
Exporting PDF to Word or Excel online · In the top navigation bar, click Convert > Export PDF. · Do one of the...
Read more >
No page breaks in PDF export · Issue #360
Export to PDF See that the finished PDF file only contains one page when it sho... ... PDF export should not export the...
Read more >
Export Options: Appearance tab
To create a PDF file, you can export the file to Excel. Ensure that you have Excel's Save as PDF add-in. In Excel,...
Read more >
Exporting dashboard content to PDF
You cannot save the image as a PDF because the content does not appear in your window. Click the Export tab. Select the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found