Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Extra Returns!?

more options

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.

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)

more options

Go into settings go to the general section and find the browsing heading uncheck the box next to Use automatic paragraph spacing.

more options

That option doesn't seem to be there - see attached pic.

more options
more options

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.

more options

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!!!!

more options

Terry, I followed your link and here's what I see: (see below).

more options

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.

more options

cor-el said

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.

more options

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?

more options

tstr14 said

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.