OS: macOS 14.4
Anki: (anki-24.04-mac-apple-qt6.dmg)
Version 24.04 (d516a9d9)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Reproduce:
In a text filed, input the following HTML code under the code mode:
<table><tbody><tr><td>A</td></tr>
</tbody></table>
Then go back to the preview mode, select the text “A” and click the “Text color” button to change it to red.
Expect: The text “A” should be changed to red.
Result: The text “A” was in red when focusing. However when unfocused, it went back to black. And the code was:
<span style="color: rgb(255, 0, 0);"></span><table><tbody><tr><td>A</td></tr>
</tbody></table>