-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bold button is confused by font-weight span #2453
Comments
Can I take this issue? |
Sure |
Can we change the threshold
According this mdn doc, "bold" is mapped to I did a little bit testing, and this change gives more reasonable behaviour. From normal to bold: ![]() ![]() From bold to normal: ![]() ![]() Another way to fix this might be using |
Thanks for digging into it! If the docs say 700, happy to go with a check for 700 - I've pushed this change to the main branch. |
This reverts commit 9ced6be. Caused a regression: https://forums.ankiweb.net/t/anki-24-10-beta/49989/150
Paste the following in a field:
Select one of the characters inside and attempt to bold it. We end up with:
Original report: https://forums.ankiweb.net/t/applying-bold-inverts-selection/28641/3
The text was updated successfully, but these errors were encountered: