Cannot Print
See original GitHub issueNo text in the editor prints using the latest version of chrome and quill
Steps for Reproduction
Save this example html file:
<html>
<head>
<link href="https://cdn.quilljs.com/1.0.0-beta.11/quill.snow.css" rel="stylesheet">
</head>
<body>
<div id="editor"><p>Some initial <strong>bold</strong> text</p></div>
<script src="https://cdn.quilljs.com/1.0.0-beta.11/quill.js"></script>
<script type="text/javascript">
var quill = new Quill('#editor', {
theme: 'snow'
});
</script>
<body>
</html>
If you [ctrl]-[p], none of the text you enter will show up in the print preview window.
Expected behavior:
something should print
Actual behavior:
nothing prints
Platforms:
chrome 57 windows 7
Version: 1.0.0-beta.11
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
What to Do When Your Printer Won't Print | PCMag
What to Do When Your Printer Won't Print · Check Your Printer's Error Lights · Clear the Printer Queue · Solidify the Connection...
Read more >13 Common Printer Problems and How to Fix Them
Why My Printer Won't Print. There is a number of reasons why your printer might not be printing even if you just installed...
Read more >I can't print, what should I do? » Hardware »
First, make sure the printer is on and has paper in the tray. You may also want to check that it has ink...
Read more >10 Things to Try When Your Printer Won't Print - Help Desk Geek
1. Check Paper Tray and Printer Connection ... Many printer models won't print if there's a loose USB connection or if they're out...
Read more >Why Can't I Print From My Computer? - Tech & Learning
To answer the actual question of why you can't print it could be due to simple things such as networking issues, a paper...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I ran into the same second page issue on print, which I solved through media queries to clean up the outputted content on print to get a nice and clean print.
I think each application will likely have to clean up the print version via media queries slightly differently given they likely want to clear chrome, other parts of their app, etc so think this might just be something each app needs to take on individually.
I’m generally in agreement with @sachinrekhi and am not sure what css could be added since one has to consider use cases where Quill:
In addition many production apps will probably be using one of the popular css frameworks and/or resets. If all this could be had and cover a significant portion of Quill users without diminishing the experience of others, I’m happy to take a look at a PR.