diff --git a/apps/client/src/services/syntax_highlight.ts b/apps/client/src/services/syntax_highlight.ts index 6e08af760..02089e09c 100644 --- a/apps/client/src/services/syntax_highlight.ts +++ b/apps/client/src/services/syntax_highlight.ts @@ -2,7 +2,7 @@ import { ensureMimeTypes, highlight, highlightAuto, loadTheme, Themes, type Auto import mime_types from "./mime_types.js"; import options from "./options.js"; import { t } from "./i18n.js"; -import { copyText } from "./clipboard_ext.js"; +import { copyText, copyTextWithToast } from "./clipboard_ext.js"; import { isShare } from "./utils.js"; import { MimeType } from "@triliumnext/commons"; @@ -36,7 +36,13 @@ export function applyCopyToClipboardButton($codeBlock: JQuery) { const $copyButton = $("