-
Notifications
You must be signed in to change notification settings - Fork 0
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
[FR]: Focus filename after creating a note (like default Obsidian) #13
Comments
I will love to do that, but can't find anything in the API that could let me to do this. I leave this request as standby until I found a proper solution. |
Hello @Lisandra-dev, is it possible for you to take a look at this issue? It seems to be a compatibility issue with another plugin known as Front Matter Title being able to focus the title when both plugins are enabled. Maybe you can make sense of the latest comment regarding your code. Thank you. |
(joking) Yeay, a way to fly my finals (joking) I will take a look, thanks for the investigation ! |
It seems to work. Thank you! The only other thing is that if the template is long in length, it's possible that the title cannot be seen because the page scrolls to the bottom for some reason. But, the title is highlighted and so I can start typing and it'll scroll up to see the inline title. It might be a side effect of another plugin so I don't think you need to try and fix that now. If I find out more, I'll let you know. Thank you again! |
It should scroll now! |
I didn't notice any change with the new version, but as I said, if I start typing, it scrolls up so I can see the inline title, so it's functional enough in this state. Could be something else. It does work when I remove Templater's Secondly, I think there's a bug when a Templater template includes The inline title is always pre-selected if Create Note in Folder's folder specific settings is also set to "New note" for its note name. Then it will match the Templater code |
@Mara-Li Hello again. Thanks for your continued development of this plugin, however it appears that the latest release re-introduced this issue again. After creating a note, the cursor is on line 1 instead of in the inline title / tab title bar. |
A simple refractor could do this? |
It appears so. Hopefully the solution will be simple. |
Yeah, no worry, I know what cause the error ^^ |
Should be fixed again |
Yep, it's fixed. Thanks @Mara-Li! |
Just after creating a note, the cursor is automatically positioned in the body of the note instead of its inline title / tab title bar. Ideally we could create a note and immediately type its title (filename), instead of having to click it first then type. This happens when a folder is using Templater template, or none at all.
Thanks.
The text was updated successfully, but these errors were encountered: