[Bug Report] Cursor jumps behind bold text when deleting trailing space after bolded colon in list items

I posted this at helpdesk, but was told to move it here!

Product / Version:

  • ONLYOFFICE Docs Desktop
  • Version: 9.2
  • Platform: Windows 11

Steps to reproduce:

  1. Create a list item (bullet or numbered).
  2. Paste a text with part of it bold and a leading colon followed by normal text and a leading space.
  3. Switch to another part in the document, then go to the end of the line.
  4. Delete the trailing space at the end.

Expected result:

  • The cursor should remain at the end of the line, after the normal text, delete the space and be ready to continue typing.

Actual result:

  • The cursor jumps behind the bolded colon unexpectedly.
  • Happens intermittently, not every time.

This also happens if you copy/paste text from one part to another inside the same document and copied bold text. If you try to edit the copied text somewhere, it jumps right behind the bold text.
This only happens once per section.

Further sometimes it copies an additional space right to the end, which has some strange behaviour.