Cursor not positioned correctly after inserting templates

This bug might, I admit, looks very minor. However, I use the templates for the current time and date every time I write in a note throughout the workday.

Steps to reproduce

  1. Create a new note in the Sandbox vault.
  2. Ensure that the Templates core plugin is enabled.
  3. Open the command palette.
  4. Search for the command “Templates: Insert current date” or “Templates: Insert current time” and click it.

Expected result

The current date or time is inserted and the cursor is placed at the end of it.

Actual result

The cursor is instead placed at the beginning of the date or time.
This was working correctly yesterday PST.

Environment

SYSTEM INFO:
Obsidian version: v1.3.0
Installer version: v1.1.16
Operating system: Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 22.4.0
Login status: logged in
Catalyst license: insider
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none

will be fixed 1.3.1

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