akaalias/obsidian-footnotes

Plugin does not work in Obsidian Live Preview Mode

Opened this issue ยท 18 comments

Unfortunately, the plugin does not work correctly in the new, experimental, live preview mode. It creates the footnote on the original text but does not create the reference or jump the cursor for easy insertion.

I'm having the same problem. Love this plugin a lot and would appreciate if anyone had ideas for a fix.

I'm also having this problem! ยด - ' )

Same here! Footnotes are my bread and butter when writing I'm really hoping a fix comes :)

Same here... It's a shame, because this plugin was so helpful for my daily work with Obsidian :(

It does still work when enabling the 'Legacy editor' in the settings ofcourse!

I'm facing the same issue. Please resolve it.

same issue QAQ

I'm also having this issue only when the new Live Preview option is enabled.

macOS 12.0.1 (21A559)
Obsidian v0.13.19
Installer v0.13.14

  • 1 Also having this issue with or without other plugins or snippets enabled.

Copy from #13: I made a pull request that fixes the problem (#14). Unfortunately, it hasn't been accepted yet, but if you know how to install obsidian plugins from GitHub you can use that one in the meantime ๐Ÿ‘๐Ÿผ

install obsidian plugins from GitHub you can use that one in the meantime ๐Ÿ‘๐Ÿผ

I've just done this and it is working for me. Here is what I did if anyone else needs quick instructions:

  1. (After original obsidian-footnotes / "Footnote Shortcut" is installed) -- Go to Obsidian settings and disable the Footnote Shortcut plugin and quit Obsidian
  2. Open the .obsidian/plugins folder in your vault (show hidden directories if you don't see it)
  3. Rename the existing obsidian-footnotes plugin folder to something else (e.g. BROKEN-obsidian-footnotes)
  4. Clone MichaBrugger's fork that he submitted for the pull request (I opened it with GitHub desktop)
  5. Open the cloned repo in your file explorer (in GitHub Desktop: Repository > Show in Finder) and find the following files:
    • main.js
    • manifest.json
    • styles.css
  6. Make a new, empty folder in .obsidian/plugins called obsidian-footnotes and copy the 3 files from (5) to this new folder
  7. Reopen Obsidian and re-enable the Footnote Shortcut plugin

After these steps it is working for me (although there is still some wonkiness where even though it makes the new footnote and puts the pointer at the bottom, the cursor may still only advance to the next line, but that's still leagues better than having to manually type in the pointer at the bottom)

@leowill01 thanks for providing that! ๐Ÿ™Œ๐Ÿผ

In addition, two FYI things:

  • First, I've talked to the people in the Obsidian forum: normally when plugin-owners can't be reached, one could try to just create a "copy" and continue elsewhere. But since footnotes has no license defined, I can't do that without potential legal problems.
  • Second, I reached out to @akaalias over another platform too, so ye, sooner or later I'm sure it will work out.

@leowill01 Thanks for this solution. It made my life easier.

@leowill01 Thank you so much!

After these steps it is working for me (although there is still some wonkiness where even though it makes the new footnote and puts the pointer at the bottom, the cursor may still only advance to the next line, but that's still leagues better than having to manually type in the pointer at the bottom)

@leowill01 Also, regarding this wonkiness: Unfortunately, I didn't have time to fix much outside of the actual core functionality. But if you create an issue, I'll get back to it as soon as my exams are over (early- to mid-February) ๐Ÿ‘๐Ÿผ

This plugin appears to be working again in 13.21. ๐Ÿ˜„

that works for me ~~~ tks ~~

install obsidian plugins from GitHub you can use that one in the meantime ๐Ÿ‘๐Ÿผ

I've just done this and it is working for me. Here is what I did if anyone else needs quick instructions:

  1. (After original obsidian-footnotes / "Footnote Shortcut" is installed) -- Go to Obsidian settings and disable the Footnote Shortcut plugin and quit Obsidian

  2. Open the .obsidian/plugins folder in your vault (show hidden directories if you don't see it)

  3. Rename the existing obsidian-footnotes plugin folder to something else (e.g. BROKEN-obsidian-footnotes)

  4. Clone MichaBrugger's fork that he submitted for the pull request (I opened it with GitHub desktop)

  5. Open the cloned repo in your file explorer (in GitHub Desktop: Repository > Show in Finder) and find the following files:

    • main.js
    • manifest.json
    • styles.css
  6. Make a new, empty folder in .obsidian/plugins called obsidian-footnotes and copy the 3 files from (5) to this new folder

  7. Reopen Obsidian and re-enable the Footnote Shortcut plugin

After these steps it is working for me (although there is still some wonkiness where even though it makes the new footnote and puts the pointer at the bottom, the cursor may still only advance to the next line, but that's still leagues better than having to manually type in the pointer at the bottom)

works, thx, BTW๏ผŒWhy obsidian's official plugin entry use the wrong one?