diff --git a/package.json b/package.json index 03976af7..fdaf5d33 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-clipper", - "version": "0.7.0", + "version": "0.7.1", "description": "Official web clipper for Obsidian.", "scripts": { "dev:chrome": "webpack --watch --env BROWSER=chrome", diff --git a/src/manifest.chrome.json b/src/manifest.chrome.json index 1775450d..3f9c1085 100644 --- a/src/manifest.chrome.json +++ b/src/manifest.chrome.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "Obsidian Web Clipper", "homepage_url": "https://obsidian.md/", - "version": "0.7.0", + "version": "0.7.1", "description": "Save content from the web in a private and durable format that you can access offline. The official browser extension for Obsidian.", "permissions": [ "activeTab", diff --git a/src/manifest.firefox.json b/src/manifest.firefox.json index 80a38b9a..23e3d671 100644 --- a/src/manifest.firefox.json +++ b/src/manifest.firefox.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "Obsidian Web Clipper", "homepage_url": "https://obsidian.md/", - "version": "0.7.0", + "version": "0.7.1", "description": "Save content from the web in a private and durable format that you can access offline. The official browser extension for Obsidian.", "permissions": [ "activeTab", diff --git a/src/manifest.safari.json b/src/manifest.safari.json index c2a4787a..d73ce804 100644 --- a/src/manifest.safari.json +++ b/src/manifest.safari.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "Obsidian Web Clipper", "homepage_url": "https://obsidian.md/", - "version": "0.7.0", + "version": "0.7.1", "description": "Save content from the web in a private and durable format that you can access offline. The official browser extension for Obsidian.", "permissions": [ "activeTab", diff --git a/src/settings.html b/src/settings.html index dcd07c6b..66d4f7af 100644 --- a/src/settings.html +++ b/src/settings.html @@ -100,6 +100,19 @@

Advanced

+
+
+ +
+ Use the URI rather than clipboard to copy content into Obsidian. Useful if you are using Obsidian 1.7.1 or earlier. The length of the content is limited depending on the operating system and browser. +
+
+
+
+ +
+
+
diff --git a/src/utils/obsidian-note-creator.ts b/src/utils/obsidian-note-creator.ts index 9d6b6893..c41296f7 100644 --- a/src/utils/obsidian-note-creator.ts +++ b/src/utils/obsidian-note-creator.ts @@ -106,7 +106,7 @@ export async function saveToObsidian( // Use clipboard navigator.clipboard.writeText(fileContent).then(() => { obsidianUrl += `&clipboard`; - obsidianUrl += `&content=${encodeURIComponent("Web Clipper requires Obsidian 1.7.2 or above. You may need to install the [early access](https://help.obsidian.md/Obsidian/Early+access+versions) version.")}`; + obsidianUrl += `&content=${encodeURIComponent("Web Clipper requires Obsidian 1.7.2 or above. You may need to install the [early access](https://help.obsidian.md/Obsidian/Early+access+versions) version, or enable legacy mode in Web Clipper settings.")}`; openObsidianUrl(obsidianUrl); }).catch(err => { console.error('Failed to copy content to clipboard:', err);