ArkHost/HelixNotes
14
150
Fork
You've already forked HelixNotes
13

Bug: WYSIWYG editor rewrites relative asset paths to absolute file system paths on save #197

Open
opened 2026年07月01日 22:20:13 +02:00 by ngaluru · 1 comment

The HelixNotes documentation explicitly states:

Images are copied into .helixnotes/attachments/ inside your vault and referenced with relative paths.

However, when interacting with or editing markdown files containing relative links (../.helixnotes/attachments/ or .helixnotes/attachments/), the WYSIWYG editor engine automatically converts and saves these links as hard-coded absolute filesystem paths (e.g., ![image](C:\Users\... or ![image](file:///...)).
This breaks vault portability across different machines, operating systems, and syncing clients (like Syncthing).

Steps to Reproduce:

  1. Create a markdown note inside a subnotebook folder (e.g., Notebook/Note.md).
  2. Add an image link using standard relative syntax pointing back to the root attachment folder:![test](../.helixnotes/attachments/354959349c0608ad2df96603a5b64bdf.png)
  3. Open the note inside the HelixNotes WYSIWYG editor.
  4. Make a small edit or allow the note to trigger an auto-save.
  5. Open the raw .md file in an external text editor (Source Mode) or via your OS file manager.

Expected Behavior:

The markdown link should remain relative (../.helixnotes/attachments/...) to keep the vault portable across different systems.

Actual Behavior:

HelixNotes modifies the link in the raw text file to match the hard-coded absolute path of the local machine:![test](C:\Users\YourUser\Documents\Vault\.helixnotes\attachments354959349円c0608ad2df96603a5b64bdf.png)

Environment:

  • OS: Windows
  • HelixNotes Version: v1.3.3

see attached images:
image
image

The HelixNotes documentation explicitly states: > Images are copied into .helixnotes/attachments/ inside your vault and referenced with relative paths. However, when interacting with or editing markdown files containing relative links (`../.helixnotes/attachments/` or `.helixnotes/attachments/`), the WYSIWYG editor engine automatically converts and saves these links as hard-coded absolute filesystem paths (e.g., `![image](C:\Users\...` or `![image](file:///...)`). This breaks vault portability across different machines, operating systems, and syncing clients (like Syncthing). ## Steps to Reproduce: 1. Create a markdown note inside a subnotebook folder (e.g., `Notebook/Note.md`). 2. Add an image link using standard relative syntax pointing back to the root attachment folder:`![test](../.helixnotes/attachments/354959349c0608ad2df96603a5b64bdf.png)` 3. Open the note inside the HelixNotes WYSIWYG editor. 4. Make a small edit or allow the note to trigger an auto-save. 5. Open the raw `.md` file in an external text editor (Source Mode) or via your OS file manager. ## Expected Behavior: The markdown link should remain relative (`../.helixnotes/attachments/...`) to keep the vault portable across different systems. ## Actual Behavior: HelixNotes modifies the link in the raw text file to match the hard-coded absolute path of the local machine:`![test](C:\Users\YourUser\Documents\Vault\.helixnotes\attachments354959349円c0608ad2df96603a5b64bdf.png)` ## Environment: - OS: Windows - HelixNotes Version: v1.3.3 see attached images: ![image](/attachments/bd79b9e1-4652-490c-b839-70b236e6c17a) ![image](/attachments/6e657cd8-346b-45b3-b53a-c7ed59505865)
Author
Copy link
as proclaimed https://helixnotes.com/docs.html#media:~:text=Images%20are%20copied%20into%20%2Ehelixnotes%2Fattachments%2F%20inside%20your%20vault%20and%20referenced%20with%20relative%20paths
ngaluru changed title from (削除) v1.3.3 writes absolute path instead of relative when attachment (削除ここまで) to Bug: WYSIWYG editor rewrites relative asset paths to absolute file system paths on save 2026年07月01日 22:25:10 +02:00
Sign in to join this conversation.
No Branch/Tag specified
main
fix/vault-indication
v1.3.3
v1.3.2
v1.3.1
v1.3.0
v1.2.9
v1.2.8
v1.2.7
v1.2.6
v1.2.5
v1.2.4
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.1.9
v1.1.8
v1.1.7
v1.1.6
v1.1.5
v1.1.4
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.9
v1.0.8
v1.0.7
v1.0.6
v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ArkHost/HelixNotes#197
Reference in a new issue
ArkHost/HelixNotes
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?