joplin-plugin-slash-commands icon indicating copy to clipboard operation
joplin-plugin-slash-commands copied to clipboard

Enhancement - position cursor in particular spot

Open yetanothercarbot opened this issue 11 months ago • 0 comments

I'm using this plugin to make maths easier to type, inspired by a similar plugin on the Obsidian.md side.

It would be amazing if it would be possible to specify a position for the cursor after text replacement occurs. For instance, I added a command /dm which inserts the text $$\n\n$$ (in essence, switching to maths mode). It would be very useful if the cursor would then be placed on the empty, middle line.

Similarly, a fraction command which inserts \frac{}{} would be even more useful if the cursor could be placed in the first set of curly braces.

yetanothercarbot avatar Feb 29 '24 03:02 yetanothercarbot