I just double checked via BrowserStack, and the toolbar formatting buttons work correctly under Firefox 91 ![]()
Yeah, via MDN, Firefox < 89 had bugs with text manipulation:
Before Firefox 89, manipulating the content of
<input>and<textarea>elements usingDocument.execCommand()commands requires workarounds (see bug 1220696).