The HTML toggle button seems to have a bug when used in conjunction with the pin feature.
If HTML is toggled on while adding a new card, the toggle state should remain the same after the card is added. For example, if HTML is active and you press Ctrl + Enter, the HTML field should remain visible. This is the desired behavior when adding cards in batches.
However, if a field is pinned while HTML is active and then Ctrl + Enter is pressed, all active HTML fields collapse unexpectedly.
Originally reported on https://forums.ankiweb.net/t/toggle-html-in-add-window-bug-version-25-09-2/67790
I can reproduce it in #4029: the HTML editor collapses immediately after toggling sticky fields there.