joplin-plugin-context-utils 1.4.3 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -10,7 +10,7 @@ Context Utils is a Joplin plugin that adds context menu options in the markdown
10
10
 
11
11
  ## Context Menu Options
12
12
 
13
- **Open Link/Open Resource/Send Email/Open Note** - Open external URLs in browser, open Joplin resources in default app, open mailto: links in default mail client, or open linked note.
13
+ **Open Link/Send Email** - Open external URLs in browser or open mailto: links in default mail client.
14
14
 
15
15
  **Add External Link** - Insert a hyperlink at the cursor
16
16
 
@@ -20,35 +20,30 @@ Context Utils is a Joplin plugin that adds context menu options in the markdown
20
20
 
21
21
  **Go to Heading** - Scroll editor to specified heading when right clicking on internal anchor link (e.g. `[Test](#test)`)
22
22
 
23
- **Copy URL/Copy Path/Copy Email** - Copy URL or resource file path to clipboard, or copy email address from mailto: link.
24
-
25
- **Reveal File** - Reveal Joplin resource file in file explorer.
23
+ **Copy URL/Copy Email** - Copy URL to clipboard, or copy email address from mailto: link.
26
24
 
27
25
  **Copy Code** - Copy code from inline code or code block to clipboard.
28
26
 
29
- **Copy OCR Text** - Copy OCR text from image resources when available.
30
-
31
27
  **Check/Uncheck Task** / **Check/Uncheck All Tasks** - Toggle task on selected line or Toggle all tasks in selection.
32
28
 
33
29
  **Open Note as Pinned Tab** - Allows you to right click a link to another joplin note and pin it to a tab (requires the [Note Tabs](https://joplinapp.org/plugins/plugin/joplin.plugin.note.tabs/?from-tab=all) plugin)
34
30
 
35
- **Open Note in New Window** - Allows you to right click a link to another joplin note and open it in a new window.
36
-
37
31
  **Open All Links** - Opens all detected HTTP(S) links in the current text selection, in selection order.
38
32
 
39
33
  **Fetch Link Title** / **Fetch All Link Titles** - Fetches the title of a URL and updates markdown link to include the title (or converts to a markdown link if its a bare URL).
40
34
 
41
35
  - Note that this results in an outbound request to fetch the web page title.
36
+ - If a `linkpreview.net` API key is configured in plugin settings, the plugin tries `linkpreview.net` first and falls back to direct page fetching if needed.
42
37
  - There's special handling for JIRA links to set the link text to the JIRA issue number (since JIRA issues just set the page title to "Jira"). There's currently no special handling for any other link types.
43
38
 
44
39
  > [!note]
45
- > Open All Links and Fetch Link Title/Fetch All Link Titles do not support reference-style links
40
+ > Open All Links and Fetch Link Title/Fetch All Link Titles do not support reference-style links or links inside embeds.
46
41
 
47
42
  ## Settings
48
43
 
49
44
  - Each context menu option can be enabled or disabled in the Plugin settings.
50
-
51
45
  - Enable/Disable toast messages.
46
+ - Optional secure `linkpreview.net` API key setting for link title fetching.
52
47
 
53
48
  ## Misc Notes
54
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joplin-plugin-context-utils",
3
- "version": "1.4.3",
3
+ "version": "1.5.0",
4
4
  "scripts": {
5
5
  "dist": "webpack --env joplin-plugin-config=buildMain && webpack --env joplin-plugin-config=buildExtraScripts && webpack --env joplin-plugin-config=createArchive",
6
6
  "prepare": "npm run dist",
@@ -23,24 +23,24 @@
23
23
  "@codemirror/lang-markdown": "^6.5.0",
24
24
  "@codemirror/language": "^6.11.3",
25
25
  "@codemirror/state": "^6.5.2",
26
- "@eslint/eslintrc": "^3.3.1",
27
- "@eslint/js": "^9.39.1",
26
+ "@eslint/eslintrc": "^3.3.5",
27
+ "@eslint/js": "^10.0.1",
28
28
  "@types/jest": "^30.0.0",
29
29
  "@types/node": "^24.10.0",
30
- "@typescript-eslint/eslint-plugin": "^8.46.3",
31
- "@typescript-eslint/parser": "^8.46.3",
30
+ "@typescript-eslint/eslint-plugin": "^8.58.1",
31
+ "@typescript-eslint/parser": "^8.58.1",
32
32
  "baseline-browser-mapping": "^2.9.19",
33
33
  "chalk": "^4.1.0",
34
- "copy-webpack-plugin": "^13.0.1",
35
- "eslint": "^9.39.1",
34
+ "copy-webpack-plugin": "^14.0.0",
35
+ "eslint": "^10.2.0",
36
36
  "eslint-config-prettier": "^10.1.8",
37
- "eslint-plugin-import": "^2.32.0",
38
- "eslint-plugin-prettier": "^5.5.4",
37
+ "eslint-plugin-import-x": "^4.16.2",
38
+ "eslint-plugin-prettier": "^5.5.5",
39
39
  "fs-extra": "^10.1.0",
40
40
  "glob": "^8.0.3",
41
41
  "jest": "^30.2.0",
42
42
  "jest-environment-jsdom": "^30.2.0",
43
- "prettier": "^3.6.2",
43
+ "prettier": "^3.8.2",
44
44
  "tar": "^7.5.7",
45
45
  "ts-jest": "^29.4.5",
46
46
  "ts-loader": "^9.3.1",
@@ -2,7 +2,7 @@
2
2
  "manifest_version": 1,
3
3
  "id": "com.bwat47.context-utils",
4
4
  "app_min_version": "3.3",
5
- "version": "1.4.3",
5
+ "version": "1.5.0",
6
6
  "name": "Context Utils",
7
7
  "description": "Adds context menu options in the markdown editor related to links, images, task lists and code",
8
8
  "author": "bwat47",
@@ -43,6 +43,6 @@
43
43
  "src": "images/context-utils_promo_tile.png",
44
44
  "label": "Context Utils Promo Tile"
45
45
  },
46
- "_publish_hash": "sha256:5a88e90d92e28dfef4a8bcef3b3410910216f382078a96f83801fc7c79ac7238",
47
- "_publish_commit": "main:6c772f38b4ab0888b3606803d1841a788fbadf4a"
46
+ "_publish_hash": "sha256:6a86d60ac3be62aef467442ff8a9fc75f4539bf9f9ce8a91c65ee0ab57b68cf1",
47
+ "_publish_commit": "main:4304b8252244e98a127e97c4399542c61a83f605"
48
48
  }