Put Cursor in a certain field of frontmatter

What I’m trying to do

I want to put the cursor with a hotkey into a certain frontmatter-field, because I don’t want to use the mouse for this.

Things I have tried

I’ve tried to code a JavaScript. I can change the content of a field, but only put the cursor in this certain place not. Everytime the cursor ends in the first line below the frontmatter.

Some hints how to solve this?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.