Skip to content

executeObsidianCommand: Editor Grabs Focus#283

Open
Threeinone wants to merge 1 commit intoesm7:masterfrom
Threeinone:fix-obcommandFocus
Open

executeObsidianCommand: Editor Grabs Focus#283
Threeinone wants to merge 1 commit intoesm7:masterfrom
Threeinone:fix-obcommandFocus

Conversation

@Threeinone
Copy link

I ran into an issue when trying to use :obcommand editor:toggle-fold which seems to boil down to the editorCallback not behaving properly when the markdown editor doesn't have focus. I elaborated a bit on my findings here.

This added line seems to reliably fix the problem.
I have only tested editor:toggle-fold however, so I'm not positive about the behaviour of other editor callbacks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant