Chủ đề này đã được lưu trữ. Vui lòng hỏi một câu hỏi mới nếu bạn cần giúp đỡ.
Whenever I type in text in a forum post, Firefox adds one or two extra returns each time I hit the Return key. This happened with the last FF update.
Tất cả các câu trả lời (10)
Go into settings go to the general section and find the browsing heading uncheck the box next to Use automatic paragraph spacing.
That option doesn't seem to be there - see attached pic.
Were you previously using editor.use_div_for_default_newlines = false to get a <br> ? Support for editor.use_div_for_default_newlines and several other editor prefs has been removed in 112 (bug 1815827) and now defaults to <div>.
You can use Shift+Enter to get a <br> tag.
I am completely clueless about using editor. Are you suggesting I have to use Shift+Enter for a simple return at the end of a paragraph? Major PITA!!!!
Terry, I followed your link and here's what I see: (see below).
Like I posted above, editor.use_div_for_default_newlines is no longer supported in 113 as you can see by the trashcan icon at the far right. You can click the trashcan to reset/remove this pref. If you press the Enter key in a rich text editor then you create a new DIV element that is rendered as a extra return. You need to use Shift+Enter to add a linefeed (simple line break) in the current DIV container.
You need to use Shift+Enter to add a linefeed (simple line break) in the current DIV container.
Thanks for the info - even though it sucks. Why would "they" do this? I know, not your job, but it makes no sense to me.
So, is there any other work around for this? My feeble mind is incapable of remembering to use shift+return some places and not in others. Am I the only person in the world having this issue?
So, is there any other work around for this?
It is theoretically possible for an add-on or script to intercept the Enter key and modify what it does in a page. I don't know whether there are any add-ons or userscripts for this out there in the wild, or whether a new one would be needed.