We had a use case where some spans with display:none is added to our content editable div.
So when the user somehow lands on the span and tries to add content, the space bars are getting added inside the span, thereby not showing up in the UI. All other characters are working fine. The issue is only with the space.
This seems to be a Firefox only issue. Chrome is working fine.
Was able to reproduce the issue using this jsfiddle -> https://jsfiddle.net/senths/ehLp86zy/3/ (click b/w hello & world and try to add space)
Firefox Version Used: 91.8.0esr (64-bit)
Is this behaviour expected in Firefox?
Any lead is appreciated. Thanks in advance.
