generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto jump to cursor is triggered twice on new file creation #1381
Labels
bug
Something isn't working
Comments
Can you try updating to the latest version of Templater, 2.3.2? |
I just updated to |
I can reproduce now when using the "Create new note from template" command, I could not with the "Open insert template modal" command. |
This is what I am seeing too and what is being corroborated by another user on Reddit. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Plugin information (please complete the following information):
Given the following template:
And "Automatic jump to cursor" enabled in settings
Expected behavior
The cursor should jump to the first cursor position of
foo: <% tp.file.cursor(1) %>
.1. The layout is inconsistent
Note that
foo
,bar
andbar2
don't show the templater instructions, whereas both bullet points do.2. The cursor skips the first instance
The cursor skips
foo: <% tp.file.cursor(1) %>
and jumps to the multi-cusor position ofbar: <% tp.file.cursor(2) %>
insteadAdditional context
All other plugins have been disabled.
The text was updated successfully, but these errors were encountered: