Operating system
Windows
Joplin version
3.7.12
Desktop version info
Joplin 3.7.12 (prod, win32)
Device: win32, 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz
Client ID: a504afc6d2a6496b99a0931c22649537
Sync Version: 3
Profile Version: 53
Keychain Supported: Yes
Alternative instance ID: -
Sync target: Dropbox
Editor: Rich Text
Revision: bed73cd
Backup: 1.5.1
Combine notes: 1.2.3
Favorites: 1.3.2
Freehand Drawing: 4.3.0
Menu items, Shortcuts, Toolbar icons: 1.1.0
Note list (Preview): 1.1.0
Test Plugin: 1.0.01.0
Test Plugin: 1.0.0
Sync target
Dropbox
Editor
Rich Text Editor
What issue do you have?
I'm currently running into this issue which is blocking a lot of my conversion work, of bringing in notes from Evernote and repairing the broken Evernote internal links as a result.
I imported all my Evernote notes as HTML default, as preserving formatting is critical for some notes. I have been converting more casual notes I encounter into Markdown using the right click Convert To Markdown function on a note.
The problem is, if I go through and repair all my Evernote internal links to now point to their Joplin equivalents, but THEN later convert that linked to note from HTML to Markdown, the conversion process creates a whole new noteID for the resulting conversion instead of re-using the previous. What this means is that if I go to that fixed Joplin link and click on it, it will open the old HTML note now lying in the Trash (since after conversion the old note gets deleted)
It seems like the correct and proper thing to do here is to preserve the original noteID in the new converted note, so that previous Joplin links are not invalidated.
I would prefer this to be in core Joplin functionality, as it currently comes across as a bug. But in the meantime is there some way I could still manage to convert a note to markdown AND manually set its noteID using the plugin data api interface?