mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
client: Improve hint & toast regarding attachments
This commit is contained in:
parent
808797a48b
commit
937e87d760
@ -8,9 +8,9 @@ function copyImageReferenceToClipboard($imageWrapper) {
|
||||
const success = document.execCommand('copy');
|
||||
|
||||
if (success) {
|
||||
toastService.showMessage("Image copied to the clipboard");
|
||||
toastService.showMessage("A reference to the image has been copied to clipboard. This can be pasted in any text note.");
|
||||
} else {
|
||||
toastService.showAndLogError("Could not copy the image to clipboard.");
|
||||
toastService.showAndLogError("Could not copy the image reference to clipboard.");
|
||||
}
|
||||
}
|
||||
finally {
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user