mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 17:08:58 +01:00
fix(print): copy to clipboard button visible
This commit is contained in:
parent
b741662fde
commit
c7369bc9b3
@ -24,7 +24,9 @@ export async function formatCodeBlocks($container: JQuery<HTMLElement>) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (glob.device !== "print") {
|
||||||
applyCopyToClipboardButton($(codeBlock));
|
applyCopyToClipboardButton($(codeBlock));
|
||||||
|
}
|
||||||
|
|
||||||
if (syntaxHighlightingEnabled) {
|
if (syntaxHighlightingEnabled) {
|
||||||
applySingleBlockSyntaxHighlight($(codeBlock), normalizedMimeType);
|
applySingleBlockSyntaxHighlight($(codeBlock), normalizedMimeType);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user