diff --git a/qt/ts/src/editor.ts b/qt/ts/src/editor.ts index 121e6f980..6a59ff978 100644 --- a/qt/ts/src/editor.ts +++ b/qt/ts/src/editor.ts @@ -292,8 +292,8 @@ function wrapIntoText(front, back) { function wrapInternal(front, back, plainText) { if (currentField.dir === "rtl") { - front = "⁨" + front + "⁩"; - back = "⁨" + back + "⁩"; + front = "‫" + front + "‬"; + back = "‫" + back + "‬"; } const s = window.getSelection(); let r = s.getRangeAt(0);