搜尋 Mozilla 技術支援網站

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

了解更多

Formatting problem when posting on overunity.com only when using Firefox.

  • 14 回覆
  • 1 有這個問題
  • 4 次檢視
  • 最近回覆由 FredMcD

more options

When posting a message on overunity.com the formatting is not working properly. When I hit the enter key twice to add a space between lines I don't get the space added unless I hit the enter key a third time. Or if I want to add something on the next line If I hit the enter key one time, whatever I type still ends up on the same line. Everything looks normal until I go to do a preview of my post. The preview then shows that apparently the first time I hit the enter key I do NOT get the normal response of a carriage return that you would expect.

I have tried both Opera and Chrome with overunity.com and they work fine with no problem. Also Firefox seems to work fine on other forums I belong to and post on. It seems very strange that only the combination of overunity.com and Firefox have this problem. I have also been in contact with two other people that also use Firefox and they also have the same problem with posting on overunity.com. As I post there fairly often I would really like to see a solution to this problem. Or a way to work around it if possible. I can get my posts to look okay as long as I remember to add an extra hit of the enter key when posting but I don't consider that to be a good solution.

Thanks for any help someone can give, Carroll

When posting a message on overunity.com the formatting is not working properly. When I hit the enter key twice to add a space between lines I don't get the space added unless I hit the enter key a third time. Or if I want to add something on the next line If I hit the enter key one time, whatever I type still ends up on the same line. Everything looks normal until I go to do a preview of my post. The preview then shows that apparently the first time I hit the enter key I do NOT get the normal response of a carriage return that you would expect. I have tried both Opera and Chrome with overunity.com and they work fine with no problem. Also Firefox seems to work fine on other forums I belong to and post on. It seems very strange that only the combination of overunity.com and Firefox have this problem. I have also been in contact with two other people that also use Firefox and they also have the same problem with posting on overunity.com. As I post there fairly often I would really like to see a solution to this problem. Or a way to work around it if possible. I can get my posts to look okay as long as I remember to add an extra hit of the enter key when posting but I don't consider that to be a good solution. Thanks for any help someone can give, Carroll

所有回覆 (14)

more options

Hi, please try : SAFE MODE

In Firefox Safe mode these changes are effective:

  • all extensions are disabled (about:addons)
  • default theme is used (no persona)
  • userChrome.css and userContent.css are ignored (chrome folder)
  • default toolbar layout is used (file: localstore-safe.rdf)
  • Javascript JIT compilers are disabled (prefs: javascript.options.*jit)
  • hardware acceleration is disabled (Options > Advanced > General)
  • plugins are not affected
  • preferences are not affected

TEST''''is issue still there ?

more options

Some websites use special formatting codes. Check with its support.

more options

I tried "safe Mode" and that did not solve the problem. I have not gotten any answer from the forum support yet, but Opera, Chrome and IE all work fine on that forum. I am running Windows 7 on my laptop and desktop and Firefox has this problem on both of them. I have been in contact with 3 other people that have the same problem only with Firefox and that forum. One of them is running Fedora and Firefox 60 and also has the same problem with the formatting only on that forum.

The problem appears to have something to do with that forum software not recognizing the first carriage return but then recognizing the ones after that. If I hit the enter key once for a carriage return it shows a normal response in the text window I am typing in, but when I preview my post it shows the text as if I had not hit the enter key for a carriage return. In other words the text after the carriage return is still on the same line as the text before the carriage return, but only in the preview window and of course in the final post if I post it without correcting the missing carriage returns.

I believe the forum software is called SMF 2.0.15 I am not a programmer or computer guru so I might be wrong about that.

Thanks FredMcD. I just edited this post and that corrected the lack of word wrap in this post.

Carroll

由 citfta 於 修改

more options

I just saw my above reply now has a strange paragraph in it where the word wrap appears to not have worked. I have no idea how that happened. More strange behavior.

Carroll

more options

Starting a sentence with a space is a special edit command on this forum.

Example;

To install Firefox on a Windows XP system, because of Windows restrictions, the user will have to download Firefox 43.0.1 and then update to the current releas
more options

Hi FredMcD,

Thanks for your reply, Your explanation for what happened to my reply on this forum was very helpful but I still would like to know how to get my replies on overunity.com to format like they should.

Thanks, Carroll

more options

FredMcD said

Some websites use special formatting codes. Check with its support.
more options

Could be a problem with how the website interprets white space.

I assume that this is a rich text editor and not a plain text editor like this forum uses?

Does using Shift+Enter produce any code?

more options

cor-el said

Could be a problem with how the website interprets white space. I assume that this is a rich text editor and not a plain text editor like this forum uses?

I noticed this also on www.AVSforum.com since FF 60.xx. I made a change in about:Config to 'correct' it. It's just FireFox users reporting the 'problem'.


-Pj
more options

Pj said

I made a change in about:Config to 'correct' it

What change did you make?

more options

Well, Shift+Enter is an option on many editors, but it is an extra finger...

Could you take a look at this change made in Firefox 60:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste newline and pause while the list is filtered

(3) Double-click the editor.use_div_for_default_newlines preference to switch the value from true to false (was false in Firefox 57-59)

Does that have any effect?


This change was made for compatibility with Chrome, but if sites have scripts that handle Firefox and Chrome differently, then those sites will have a broken behavior in Firefox with this change. The following article is for sites that need to adjust to the new behavior:

https://www.fxsitecompat.com/en-CA/docs/2018/rich-text-editor-s-newline-behaviour-has-been-changed-now-generates-div-instead-of-br/

more options

Pj said

I noticed this also on www.AVSforum.com since FF 60.xx.

Yes, this issue with old versions of the vBulletin software have popped up in two earlier threads here:

Seems quite a few sites have not updated their vBulletin in 6+ years.

more options

FredMcD said

Pj said
I made a change in about:Config to 'correct' it

What change did you make?


I entered About:Config and copy-n-pasted

 editor.use_div_for_default_newlines 

in the Search Box and double-clicked on it to change it to False.

-Pj 
( AVSforum Thread Here.)
more options

Pj said

editor.use_div_for_default_newlines

Thank you Pj