搜尋 Mozilla 技術支援網站

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

Learn More

Text bunches up when I press backspace

more options

Hi all,

I have been having issues with contributing to a certain forum. When I go to add a new line to a post, or upon deleting and retyping, the white space between the lines is eliminated.

This has a real impact on the legibility of my posts.

Please see the video I have provided for further information.

Many thanks,

Casey

Hi all, I have been having issues with contributing to a [https://forum.allianceofhope.org/ certain forum]. When I go to add a new line to a post, or upon deleting and retyping, the white space between the lines is eliminated. This has a real impact on the legibility of my posts. Please see the [https://youtu.be/JE0eifzVtuU video] I have provided for further information. Many thanks, Casey

所有回覆 (5)

more options

Hmm, that's interesting. It seems that when you press the Backspace key, the underlying HTML is changing so it no longer has the normal styling for a separate paragraph. I wonder what is happening there.

Firefox used to have a hidden option to choose what Enter does when you press the Enter key in a rich text editing environment (versus plain text form fields):

  • Create a line break (HTML: <br>; legacy behavior)
  • Create a new paragraph (HTML: <p>; updated behavior)

In a recent update, the legacy option was removed. Some users have posted that they liked the legacy behavior better, and didn't mind pressing Enter twice to start a new paragraph. I don't think anyone mentioned new problems using the Backspace key in those threads.

If you don't recall changing this option, you probably have been using the updated behavior all along. Is the Backspace problem new with Firefox 114 or have you seen it for a while?

more options

I will mention as a workaround that pressing Shift+Enter creates a line break, and pressing it twice emulates a paragraph break, so that might be a workaround until someone figures this out (or if it's a glitch in the site's text editor which makes it incompatible with Firefox, until they get time to update it.)

more options

Hello,

Thank you so much for your help. I made a post in the Feedback and Technical Support area of that forum at the beginning of March, referring to it as a problem with v.110.0.1

However, I don't recall seeing that option anywhere in my Firefox settings. It's certainly strange, and I am very grateful for the workaround you've provided. It doesn't seem to affect any other forums I use.

Is there any further information that might be pertinent for me to pass on to the other forum?

Thank you for your time,

Casey

more options

If you have text in two DIV consecutive elements, then if you press the backspace key at the start of the second DIV, then you join those two DIV and thus separator space can get lost. You can possibly check/verify this in the Inspector.

more options

cor-el said

If you have text in two DIV consecutive elements, then if you press the backspace key at the start of the second DIV, then you join those two DIV and thus separator space can get lost. You can possibly check/verify this in the Inspector.

Thank you for your input,

I'm fairly tech-savvy, but not so much about the back end of websites. Please could you elaborate?

Take care,

Casey