Type in Arabic then select all then start typing in English, cursor will precede text, undo cursor is messy as well

WHAT IS THE BUG

Type some Arabic text (or maybe any RTL language?) then select all text in that block then start typing in English or any LTR language, the cursor will stay still at the beginning of the line and text keeps being typed

Undoing will make the Arabic text appearing at the left side with the cursor being in middle of the word

HOW TO REPRODUCE IT

  1. Type some Arabic text
  2. Select all text in that block
  3. Starting typing in English
  4. Then try to undo multiple times

TECHNICAL INFORMATION

OS version: win32 x64 10.0.26200
App version: 0.54.2
Build number: build on 2026-02-16 15:18:28 +0000 UTC at #b2bd40d7e4429cd9969a75a064db1f17407adb9a
Library version: v0.48.1
Anytype Identity: ABAj6wUqK6ovHRXfWcdsAgn9HNDs79n6S99gys16Ea963Nvg
Analytics ID: f5730973-abbc-4ac1-a216-eeb3e63d57bf
Device ID: 12D3KooWEhcqL6ufTsxUUhihLkHeZ4kAWTat3mhNGPkpLuoUryMt
Ethereum Address: 0x7340E3Aa3B78908cdb76521fd84CC5BddbdAf7d5

This report has been added to our tracker and received by our team.

This issue has been fixed by the Development Team and will be implemented in an upcoming release.