Kinematics
Well worn.
- Joined
- May 14, 2015
- Messages
- 7,089
- Likes received
- 19,705
The editor on the forums seems to have a number of automatic actions that harm the integrity of posts being made. I know that these issues are not present on SV and SB, and since all three forums are XenForo-based, this should be fixable.
1) Pasting text into the rich editor (but not the BB Code version of the editor) will strip out all blank lines. That means blank lines inserted between paragraphs for readability are removed, making all of the text collapse together. It also strips out extra spaces, including spaces that should have gone into a preformatted text block (text enclosed in [code] tags), mangling the original attempt at formatting.
2) Preformatted text (text enclosed in [code] tags) converts continuous runs of spaces into tabs. This wouldn't be quite as bad if the default tab width on display wasn't different from the number of spaces that were converted to tabs. It seems to convert every group of 4 spaces into a tab, but then display text with a tab width of 8 spaces (browser default). Either it should not be converting spaces to tabs in the first place, or the CSS should include info on the actual tab size of 4 rather than 8 (-moz-tab-size, -o-tab-size, tab-size; IE does not support this), or it should be converting groups of 8 spaces at a time to match browser defaults of an 8-space tab.
Note that the above mangling is done even when editing using the BBCode editor rather than the rich text editor.
3) The editor appears to strip other characters out, such as the zero-width space.
This line:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
Should have a zero-width space between the a's and the b's, causing the two segments to each appear on their own line (as long as the window is narrow enough to force a word wrap). It behaves that way in the editor, but strips the character out of the preview and post.
Certain parts of this problem are the editor itself, as it behaves while running in the browser, and certain parts are due to modifications it makes on the back end, after posting. There are too many modifications being made to the post by the forum.
1) Pasting text into the rich editor (but not the BB Code version of the editor) will strip out all blank lines. That means blank lines inserted between paragraphs for readability are removed, making all of the text collapse together. It also strips out extra spaces, including spaces that should have gone into a preformatted text block (text enclosed in [code] tags), mangling the original attempt at formatting.
2) Preformatted text (text enclosed in [code] tags) converts continuous runs of spaces into tabs. This wouldn't be quite as bad if the default tab width on display wasn't different from the number of spaces that were converted to tabs. It seems to convert every group of 4 spaces into a tab, but then display text with a tab width of 8 spaces (browser default). Either it should not be converting spaces to tabs in the first place, or the CSS should include info on the actual tab size of 4 rather than 8 (-moz-tab-size, -o-tab-size, tab-size; IE does not support this), or it should be converting groups of 8 spaces at a time to match browser defaults of an 8-space tab.
Note that the above mangling is done even when editing using the BBCode editor rather than the rich text editor.
3) The editor appears to strip other characters out, such as the zero-width space.
This line:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
Should have a zero-width space between the a's and the b's, causing the two segments to each appear on their own line (as long as the window is narrow enough to force a word wrap). It behaves that way in the editor, but strips the character out of the preview and post.
Certain parts of this problem are the editor itself, as it behaves while running in the browser, and certain parts are due to modifications it makes on the back end, after posting. There are too many modifications being made to the post by the forum.
Last edited: