You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Invoking "create scratch note" without any file opened results the following error: Command 'Dendron: Create Scratch Note' resulted in an error (Cannot read property 'selection' of undefined)
Expected behavior
New scratch note created to root?
The text was updated successfully, but these errors were encountered:
Also - good find! This issue is caused by this line
It shouldn't throw an error if the note add behavior === asOwnDomain.
If you feel up to it, would you consider making a pull request? This should be a one line change and I already have integration tests for new note creation (docs to run tests)
If you pull the latest changes from Dendron, I should have fixed all the build errors too so it should just work now.
If you can't, no worries either. I'll probably update it first thing next week!
Describe the bug
Invoking "create scratch note" without any file opened results the following error:
Command 'Dendron: Create Scratch Note' resulted in an error (Cannot read property 'selection' of undefined)
Expected behavior
New scratch note created to root?
The text was updated successfully, but these errors were encountered: