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.

No 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:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
sachinrekhicommented, Aug 18, 2016

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.

0reactions
jhchencommented, Aug 20, 2016

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:

  • taking up the whole page
  • takes up part of the page with the toolbar above it
  • takes up part of the page with toolbar detached / completely separate

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.

Read more comments on GitHub >

github_iconTop 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 >

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