obsidian-footnotes icon indicating copy to clipboard operation
obsidian-footnotes copied to clipboard

Plugin does not work in Obsidian Live Preview Mode

Open luketech85 opened this issue 3 years ago • 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.

luketech85 avatar Dec 02 '21 12:12 luketech85

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

reidpat avatar Dec 11 '21 16:12 reidpat

I'm also having this problem! ´ - ' )

umsretuza avatar Dec 22 '21 05:12 umsretuza

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

cjl12377 avatar Dec 23 '21 06:12 cjl12377

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

sanhuesoft avatar Dec 25 '21 23:12 sanhuesoft

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

johannesdewit avatar Dec 26 '21 13:12 johannesdewit

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

amatya-aditya avatar Jan 02 '22 09:01 amatya-aditya

same issue QAQ

cAtOnana avatar Jan 05 '22 03:01 cAtOnana

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

leowill01 avatar Jan 07 '22 19:01 leowill01

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

jenshda avatar Jan 09 '22 17:01 jenshda

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 👍🏼

MichaBrugger avatar Jan 11 '22 16:01 MichaBrugger

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 avatar Jan 11 '22 17:01 leowill01

@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.

MichaBrugger avatar Jan 11 '22 18:01 MichaBrugger

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

sanhuesoft avatar Jan 12 '22 13:01 sanhuesoft

@leowill01 Thank you so much!

Miaoyifei-mz avatar Jan 14 '22 08:01 Miaoyifei-mz

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) 👍🏼

MichaBrugger avatar Jan 15 '22 13:01 MichaBrugger

This plugin appears to be working again in 13.21. 😄

oldjove avatar Jan 19 '22 11:01 oldjove

that works for me ~~~ tks ~~

sky31even avatar Jan 24 '22 10:01 sky31even

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?

finviman avatar Feb 21 '22 10:02 finviman