搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Invisible line-breaks in text fields

  • 無回覆
  • 1 有這個問題
  • 8 次檢視
more options

Hello!

I have been having an issue on some websites where the enter key does not insert a visible line-break. They are there, but are not visible in the text field itself.

For example, I was recently writing on the Tomshardware forums and noticed that whenever I pressed enter more than once to create multiple consecutive line-breaks, only the first one was visible in the forum post editor. However, when using the forum post preview function, the line-breaks were actually there, even though I could not see them in the editor's text field. I attached a screenshot showing the problem.

I also noticed that this only happens on some websites. The text field I am writing in now works as expected - all line-breaks are visible. Chrome and Edge also work as expected on all websites, so this is only affecting Firefox.

Does anyone know how to fix this? :)

Hello! I have been having an issue on some websites where the enter key does not insert a visible line-break. They are there, but are not visible in the text field itself. For example, I was recently writing on the Tomshardware forums and noticed that whenever I pressed enter more than once to create multiple consecutive line-breaks, only the first one was visible in the forum post editor. However, when using the forum post preview function, the line-breaks were actually there, even though I could not see them in the editor's text field. I attached a screenshot showing the problem. I also noticed that this only happens on some websites. The text field I am writing in now works as expected - all line-breaks are visible. Chrome and Edge also work as expected on all websites, so this is only affecting Firefox. Does anyone know how to fix this? :)
附加的畫面擷圖