text-snippets-obsidian icon indicating copy to clipboard operation
text-snippets-obsidian copied to clipboard

TAB no longer works with Live Preview

Open kmaustral opened this issue 4 years ago • 7 comments

If you press TAB after a word in the Live Preview (Insider Build), it indents the block rather than activating the code. Is it possible to find an alternative key for activation, or even open it to customisation?

kmaustral avatar Nov 20 '21 05:11 kmaustral

Main hotkey can be changed in Obsidian settings (Settings -> Hotkeys, then find 'Run snippet replacement'), by default it's set to Ctrl+Tab And in plugin settings you can set UseTaband UseSpace

ArianaKhit avatar Nov 20 '21 08:11 ArianaKhit

I don't seem to be able to trigger the snippet with anything now, including different hotkeys even from the Command Palette. Are you able to in the latest Insider Build?

kmaustral avatar Nov 20 '21 11:11 kmaustral

I have no access to the Insider Build. It works in Obsidian v0.12.19, but plugin was not tested in Insider build, there may be too many differences in this version.

Also, snippet must be in the following format snippet : replacement, :with spaces. Have you tried reinstalling the plugin? If this does not help, the reason may be that Live Preview is different from Editor Mode for which the plugin is made.

ArianaKhit avatar Nov 20 '21 12:11 ArianaKhit

It was all working perfectly before, thank you. Re-installing didn't fix it.

I'm not sure how long it will before Live Preview becomes standard, but you might want to check in how it might work in the new version. I use your plugin all the time. It seems to play an important role in the Obsidian set up.

Your work is much appreciated.

Kevin


Melbourne, Narrm, Victoria, Australia

Buath Garru 🌾 grass flowering season

🌖 Waning gibbous moon

🗓️ Sunday 21 November 02021

*🌡️ *Partly cloudy. Slight (20%) chance of a shower this morning. Winds southerly 25 to 35 km/h becoming light in the late evening. 18℃

😷 Number of COVID cases on ICU in Australia is 89, +5 from yesterday.

🤔 "We all have to be born somewhere." Louis Althusser

On Sat, 20 Nov 2021 at 23:14, ArianaKhit @.***> wrote:

I have no access to the Insider Build. It works in Obsidian v0.12.19, but plugin was not tested in Insider build, there may be too many differences in this version.

Also, snippet must be in the following format snippet : replacement, :with spaces. Have you tried reinstalling the plugin? If this does not help, the reason may be that Live Preview is different from Editor Mode for which the plugin is made.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ArianaKhit/text-snippets-obsidian/issues/19#issuecomment-974641362, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARTR6N3HNMO3OINO4FO2IR3UM6GIXANCNFSM5INRVC5A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

kmaustral avatar Nov 20 '21 23:11 kmaustral

Also reported as #25, with some potential fixes...

olivierdagenais avatar Jan 12 '22 19:01 olivierdagenais

Es una pena que ya no funcione como antes :C

LFrakie avatar Sep 18 '22 12:09 LFrakie

We found a temporary fix to the "Space and Tab not working" in issue #47 , if that can help anyone

jeansordes avatar Oct 26 '22 17:10 jeansordes