diff --git a/qt/ts/src/editor.ts b/qt/ts/src/editor.ts index eea5fd8c5..ab373fd38 100644 --- a/qt/ts/src/editor.ts +++ b/qt/ts/src/editor.ts @@ -295,8 +295,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);