ryjjin / Obsidian-shortcuts-extender

Plugin for Obsidian: Use shortcuts for input special symbols and changing level of headings without language switching
69 stars 6 forks source link

shortcuts do not work with Live Preview enabled #19

Closed seanwbarry closed 2 years ago

seanwbarry commented 2 years ago

If I use a shortcut - e.g. ctrl+1 - to turn a line of text into Heading 1 - the shortcut does not work if Obsidian is in Live Preview mode.

ryjjin commented 2 years ago

Hi! It's strange, we are fix it few weeks ago. Do you use updated version of plugin?

P.S.: now functions of plugin work with cursor in line, but don't work with selected text. I try to fix it soon (it still works with option "use legacy editor", but this option don't allow to use live preview mode)

b1uegh0st commented 2 years ago

Hi @ryjjin , just want to add a case:

Hope this can be fixed soon. Thanks for the great plugin. I use it a lot.

image

claremacrae commented 2 years ago

Hi @ryjjin , just want to add a case:

  • With Live Preview enabled.
  • If I start in a blank line.
  • Use header level x shortcut
  • The cursor will be before the ####

I came here to mention exactly the cursor positioning problem. It's really tripping up my muscle memory :-)

ryjjin commented 2 years ago

Hi! Please update the plugin, now it shall work properly