When clicking within a code block, cursor shifts left by 1 character

Steps to reproduce

  1. Create a bullet with a code block. e.g. I like ${name}, is a test string.
  2. IMPORTANT STEP: Click away from the document so that the code block renders in code block style
  3. Position the cursor somewhere within the code block and perform a left click.

Expected result

The “Text cursor” is placed in the correct position within the code block

Actual result

The “Text cursor” is 1 character position off to the left than where you had clicked.

Environment

Windows 10 Version 22H2 (Build 19045.2130)
Chrome 64bit version 107.0
Desktop version
No Third party extensions installed


Additional information

Please feel free to let me know if anything else is required.


Additional comments