Summary:
When editing files in the Bitbucket Cloud web editor, typing text sometimes inserts characters into existing tokens (such as {{ date }}) rather than at the cursor position.
Steps to Reproduce:
Open a file in the Bitbucket Cloud web editor.
Place the cursor near text containing {{ ... }}.
Type characters.
Result:
Typed characters are injected into the {{ }} token instead of at the cursor position.
Expected:
Text should be inserted exactly where the cursor is.
Additional Notes:
Occurs across multiple files and file types (including JSON).
Happens in both Chrome (latest version) and Opera on Windows 10 Business.
Also occurs in incognito mode.
Editing the file externally and pasting it back works correctly.
Appears to be an issue with the web editor input handling.
A screen recording demonstrating the issue is available.
Any help on this would be gratefully received.