Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
rename saveCroppedScreenshot
zadam9ac8bc28ede8
diff --git a/background.js b/background.jsindex 88f75fe69f..ade9e94768 100644--- a/background.js+++ b/background.js@@ -6,7 +6,7 @@ chrome.commands.onCommand.addListener(async function (command) {await saveWholePage();} else if (command == "saveTabs") {await saveTabs();- } else if (command == "saveScreenshot") {+ } else if (command == "saveCroppedScreenshot") {const activeTab = await getActiveTab();await saveCroppedScreenshot(activeTab.url);diff --git a/content.js b/content.jsindex 64015fae45..7bda9b9403 100644--- a/content.js+++ b/content.js@@ -228,7 +228,7 @@ async function prepareMessageResponse(message) {if (message.noteId) {messageText = document.createElement('p');- messageText.setAttribute("style", "padding: 0; margin: 0")+ messageText.setAttribute("style", "padding: 0; margin: 0; font-size: larger;")messageText.appendChild(document.createTextNode(message.message + " "));messageText.appendChild(createLink({name: 'openNoteInTrilium', noteId: message.noteId},@@ -253,7 +253,7 @@ async function prepareMessageResponse(message) {showToast(messageText, {settings: {- duration: 5000+ duration: 7000}});}