remove RTL special case in cloze deletion
https://forums.ankiweb.net/t/erroneous-characters-added-to-rtl-cloze-deletions/2164
This commit is contained in:
parent
85e2db8ab0
commit
4c052e8164
@ -291,10 +291,6 @@ function wrapIntoText(front, back) {
|
||||
}
|
||||
|
||||
function wrapInternal(front, back, plainText) {
|
||||
if (currentField.dir === "rtl") {
|
||||
front = "‫" + front + "‬";
|
||||
back = "‫" + back + "‬";
|
||||
}
|
||||
const s = window.getSelection();
|
||||
let r = s.getRangeAt(0);
|
||||
const content = r.cloneContents();
|
||||
|
Loading…
Reference in New Issue
Block a user