We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48ba77b commit 0bfc697Copy full SHA for 0bfc697
1 file changed
src/frontend/apps/impress/src/features/docs/doc-export/utils_print.ts
@@ -35,8 +35,10 @@ const PRINT_ONLY_CONTENT_CSS = `
35
}
36
37
/* Hide selection highlights */
38
- .ProseMirror-yjs-selection {
+ .ProseMirror-yjs-selection,
39
+ .bn-thread-mark {
40
background-color: transparent !important;
41
+ border-bottom: none !important;
42
43
44
/* Reset all layout containers for print flow */
@@ -299,7 +301,12 @@ export function printDocumentWithStyles() {
299
301
setTimeout(() => {
300
302
const cleanupLinks = wrapMediaWithLink();
303
const cleanupInterlinks = wrapInterlinksWithAnchor();
304
+ let cleaned = false;
305
const cleanup = () => {
306
+ if (cleaned) {
307
+ return;
308
+ }
309
+ cleaned = true;
310
cleanupInterlinks();
311
cleanupLinks();
312
cleanupPrintStyles();
0 commit comments