You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We got a report that the text "Selection deleted" from the announceDOM element can appear on a printed PDF of a document with lots of codemirrors.
Original report: fonsp/Pluto.jl#2704 (unfortunately I don't have a PDF document that demonstrates it and I can't reproduce it)
I made a related PR: codemirror/view#43, but apparently something is different in the PDF. Perhaps a class can be added (announceDOM) to let us exclude it in @media(print), or we could add something like user-select: none; color: transparent; pointer-event: none; to the style.
I'd be interested to at least know the browser/tool they used to print. The live element is positioned way off the screen, so unless you're doing something like a layout-less printing of innerText, it's weird that it would show up.
Describe the issue
We got a report that the text "Selection deleted" from the
announceDOM
element can appear on a printed PDF of a document with lots of codemirrors.Original report: fonsp/Pluto.jl#2704 (unfortunately I don't have a PDF document that demonstrates it and I can't reproduce it)
I made a related PR: codemirror/view#43, but apparently something is different in the PDF. Perhaps a class can be added (
announceDOM
) to let us exclude it in@media(print)
, or we could add something likeuser-select: none; color: transparent; pointer-event: none;
to the style.Browser and platform
https://github.com/JuliaPluto/codemirror-pluto-setup/blob/main/package.json
Reproduction link
No response
The text was updated successfully, but these errors were encountered: