Moamen Abdelsattar
Moamen Abdelsattar
Ankidroid has the same issue: https://github.com/ankidroid/Anki-Android/pull/19472
Hi @GithubAnon0000 Let's say I'm native-Arabic learning English and other stuff in Arabic, so my GUI was Arabic at first. I learnt English, so I decided to switch the GUI...
Oh I'm sorry I didn't see that. Thanks for clarification. I added myself to CONTRIBUTERS.
This PR fixes only the viewer/reviewer. I'd like to suggest another change to fix the editor. in `anki/ts/editor/base.ts` Modify `setupEditor` function and add the following: ```js document.documentElement.setAttribute("dir", "auto"); ``` I...
Hi @abdnh, I think you care about bilingual cards. If that's the case, setting a separate direction for each field is a bit misleading. There will be a mismatch between...
My opinion is: first stabilize the direction (make it independent of the UI language) with this change. Then as a next step improve further by giving each field a separate...
Update: A good CSS rule that can help render bilingual cards correctly without changing template is: ```css *{ unicode-bidi:plaintext } ``` It will fix where punctuation marks are placed, but...
Workaround: put your note box inside in svg element: ```html ``` and a little fix in the deferring code: ```javascript let deferred = []; let defer_types = [ "until-fit", ]...
Another issue: **the hook is not called in order**, and I need to make sure the deferred box is after the element in the source HTML
Since the hook isn't called for `div`s and `ul`s, deferred elements can't be inserted before a list or a `div` element. As a workaround: I make javascript place empty elements...