joplin-plugin-heading-navigator 0.7.0 → 0.7.1

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
@@ -20,22 +20,25 @@ A Joplin plugin that provides a simple overlay panel allowing you to navigate an
20
20
 
21
21
  In the markdown editor, click the Heading Navigator toolbar button, or use the assigned keyboard shortcut.
22
22
 
23
- > [!note]
24
- > There isn't a default keyboard shortcut, you can assign one under Tools | Options | Keyboard Shortcuts | "Go to Heading" command.
23
+ There isn't a default keyboard shortcut, you can assign one under Tools | Options | Keyboard Shortcuts | "Go to Heading" command.
25
24
 
26
25
  You can navigate through headings using tab key (goes to next heading), shift tab key (goes to previous heading), arrow keys, or by scrolling and selecting a heading.
27
26
 
28
- When selecting a heading with the keyboard, the editor will immediately scroll to the selected heading. Hitting enter in the dialogue (or clicking somewhere else) will close the dialogue. Hitting escape will close the dialogue & return to your original scroll/cursor position.
29
-
30
27
  You can filter the list of headings using the search filter at the top of the panel.
31
28
 
29
+ When selecting a heading with the keyboard, the editor will immediately scroll to the selected heading. Hitting enter in the panel (or clicking somewhere else) will close the panel. Hitting escape will close the panel & return to your original scroll/cursor position.
30
+
31
+ > [!note]
32
+ > When the panel is pinned, clicking outside of the panel will not close the panel, and hitting escape will move focus to the editor without closing the panel or restoring previous scroll position.
33
+
32
34
  ### Features
33
35
 
34
36
  - Navigate through headings with the keyboard
35
37
  - Search filter to filter list of headings
36
38
  - Copy link to heading
37
39
  - Panel adapts to your Joplin theme
38
- - Adjustable panel size
40
+ - Adjustable panel size (desktop only)
41
+ - Ability to pin panel so it stays open until you unpin it (desktop only)
39
42
 
40
43
  ### Settings
41
44
 
@@ -45,8 +48,10 @@ The plugin can be customized via Tools | Options | Heading Navigator:
45
48
  - Useful for longer heading text or smaller screens
46
49
  - **Panel max height**: 40-90% of editor viewport (default: 75%)
47
50
  - Prevents the panel from obscuring too much content
51
+ - **Panel top offset**: 0-200px distance from the top of the editor (default: 12px)
52
+ - Push the panel down to avoid overlapping other top-right editor decorations, such as a backlinks indicator (desktop only)
48
53
  - **Compact mode**: Hide `H# - line #` metadata and reduce heading row height (default: off)
49
- - Shows more headings at once in the panel
54
+ - Shows more headings at once in the panel (desktop only)
50
55
  - **Copy internal anchor links**: Copy `[Heading](#heading-anchor)` instead of `[Heading @ Note](:/noteId#heading-anchor)` (default: off)
51
56
 
52
57
  Panel appearance settings take effect the next time the panel is opened. The copy link setting applies to the next copied link.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joplin-plugin-heading-navigator",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
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",
@@ -2,7 +2,7 @@
2
2
  "manifest_version": 1,
3
3
  "id": "com.bwat47.heading-navigator",
4
4
  "app_min_version": "3.3",
5
- "version": "0.7.0",
5
+ "version": "0.7.1",
6
6
  "platforms": [
7
7
  "desktop",
8
8
  "mobile"
@@ -58,6 +58,6 @@
58
58
  "type": "codeMirrorPlugin"
59
59
  }
60
60
  ],
61
- "_publish_hash": "sha256:d059765f0f8e48cb7f78da0d95a73c56420a1545d65cd13471a8519a2af76f91",
62
- "_publish_commit": "main:de184c693ccdde1b88f25daed8060f2988272956"
61
+ "_publish_hash": "sha256:511208a91475385c3f76d01ad87ee08e771268943d09212ebef94387b442fbc4",
62
+ "_publish_commit": "main:9472b1c1911a493438df8f436112dd630f00c69a"
63
63
  }